]> granicus.if.org Git - curl/commitdiff
http_proxy: fix compiler warning
authorMarcel Raad <raad@teamviewer.com>
Sun, 18 Jun 2017 10:53:54 +0000 (12:53 +0200)
committerMarcel Raad <raad@teamviewer.com>
Sun, 18 Jun 2017 10:53:54 +0000 (12:53 +0200)
With CURL_DISABLE_PROXY or CURL_DISABLE_HTTP, GCC complained about a
missing prototype for Curl_connect_free.

lib/http_proxy.c

index e1545ddf4809fb0734c0329f57678699f1e5085b..ac0d18e3c1e8b0ec35ad0e7a74e990b6e6f63816 100644 (file)
 
 #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"