projects
/
curl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c095d7b
)
http_proxy: fix compiler warning
author
Marcel Raad
<raad@teamviewer.com>
Sun, 18 Jun 2017 10:53:54 +0000
(12:53 +0200)
committer
Marcel 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
patch
|
blob
|
history
diff --git
a/lib/http_proxy.c
b/lib/http_proxy.c
index e1545ddf4809fb0734c0329f57678699f1e5085b..ac0d18e3c1e8b0ec35ad0e7a74e990b6e6f63816 100644
(file)
--- 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"