From deff7de0eb0e22d2d142b96b9cc84cd8db5d2a48 Mon Sep 17 00:00:00 2001
From: Marcel Raad <raad@teamviewer.com>
Date: Sun, 18 Jun 2017 12:53:54 +0200
Subject: http_proxy: fix compiler warning

With CURL_DISABLE_PROXY or CURL_DISABLE_HTTP, GCC complained about a
missing prototype for Curl_connect_free.
---
 lib/http_proxy.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'lib')

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 <curl/curl.h>
-#include "http_proxy.h"
 #include "sendf.h"
 #include "http.h"
 #include "url.h"
-- 
cgit v1.2.3