http_proxy: fix compiler warning

With CURL_DISABLE_PROXY or CURL_DISABLE_HTTP, GCC complained about a
missing prototype for Curl_connect_free.
This commit is contained in:
Marcel Raad 2017-06-18 12:53:54 +02:00
parent c095d7b590
commit deff7de0eb
No known key found for this signature in database
GPG Key ID: B4668817AE6D6CD4
1 changed files with 2 additions and 1 deletions

View File

@ -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"