From: Marcel Raad Date: Sun, 18 Jun 2017 10:53:54 +0000 (+0200) Subject: http_proxy: fix compiler warning X-Git-Tag: curl-7_55_0~168 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=deff7de0eb0e22d2d142b96b9cc84cd8db5d2a48;p=curl http_proxy: fix compiler warning With CURL_DISABLE_PROXY or CURL_DISABLE_HTTP, GCC complained about a missing prototype for Curl_connect_free. --- diff --git a/lib/http_proxy.c b/lib/http_proxy.c index e1545ddf4..ac0d18e3c 100644 --- a/lib/http_proxy.c +++ b/lib/http_proxy.c @@ -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 -#include "http_proxy.h" #include "sendf.h" #include "http.h" #include "url.h"