Skip to content

Commit

Permalink
http_proxy: fix compiler warning
Browse files Browse the repository at this point in the history
With CURL_DISABLE_PROXY or CURL_DISABLE_HTTP, GCC complained about a
missing prototype for Curl_connect_free.
  • Loading branch information
MarcelRaad committed Jun 18, 2017
1 parent c095d7b commit deff7de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/http_proxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@

#include "curl_setup.h"

#include "http_proxy.h"

#if !defined(CURL_DISABLE_PROXY) && !defined(CURL_DISABLE_HTTP)

#include "urldata.h"
#include <curl/curl.h>
#include "http_proxy.h"
#include "sendf.h"
#include "http.h"
#include "url.h"
Expand Down

0 comments on commit deff7de

Please sign in to comment.