gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 40/208: http_proxy: fix build with http and proxy


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 40/208: http_proxy: fix build with http and proxy
Date: Wed, 09 Aug 2017 17:33:57 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.55.0
in repository gnurl.

commit edafd52be16e4a64f1ae14ea0de722413eedfea2
Author: Marcel Raad <address@hidden>
AuthorDate: Sun Jun 18 15:18:15 2017 +0200

    http_proxy: fix build with http and proxy
    
    After deff7de0eb0e22d2d142b96b9cc84cd8db5d2a48, the build without
    CURL_DISABLE_PROXY and CURL_DISABLE_HTTP was failing because of missing
    includes.
---
 lib/http_proxy.c | 1 -
 lib/http_proxy.h | 3 +++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/http_proxy.c b/lib/http_proxy.c
index ac0d18e3c..36567d36f 100644
--- a/lib/http_proxy.c
+++ b/lib/http_proxy.c
@@ -26,7 +26,6 @@
 
 #if !defined(CURL_DISABLE_PROXY) && !defined(CURL_DISABLE_HTTP)
 
-#include "urldata.h"
 #include <curl/curl.h>
 #include "sendf.h"
 #include "http.h"
diff --git a/lib/http_proxy.h b/lib/http_proxy.h
index 2e50adc8f..e19fa859a 100644
--- a/lib/http_proxy.h
+++ b/lib/http_proxy.h
@@ -22,6 +22,9 @@
  *
  ***************************************************************************/
 
+#include "curl_setup.h"
+#include "urldata.h"
+
 #if !defined(CURL_DISABLE_PROXY) && !defined(CURL_DISABLE_HTTP)
 /* ftp can use this as well */
 CURLcode Curl_proxyCONNECT(struct connectdata *conn,

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]