summaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorPatrick Monnerat <patrick@monnerat.net>2017-11-13 14:20:41 +0100
committerPatrick Monnerat <patrick@monnerat.net>2017-11-13 14:20:41 +0100
commitdef2ca2628fff1973f558e45dd8fe84ca00b54d5 (patch)
tree27f3b60c71af818b72d2b5deb46cc2c5fae56284 /lib/urldata.h
parentfa1512b2a01fd5feb921c20412f4b7526ac70de6 (diff)
downloadcurl-def2ca2628fff1973f558e45dd8fe84ca00b54d5.tar.gz
zlib/brotli: only include header files in modules needing them
There is a conflict on symbol 'free_func' between openssl/crypto.h and zlib.h on AIX. This is an attempt to resolve it. Bug: https://curl.haxx.se/mail/lib-2017-11/0032.html Reported-By: Michael Felt
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 7dfb26b6d..94f692223 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -88,18 +88,6 @@
#include "timeval.h"
-#ifdef HAVE_ZLIB_H
-#include <zlib.h> /* for content-encoding */
-#ifdef __SYMBIAN32__
-/* zlib pollutes the namespace with this definition */
-#undef WIN32
-#endif
-#endif
-
-#ifdef HAVE_BROTLI
-#include <brotli/decode.h>
-#endif
-
#include <curl/curl.h>
#include "http_chunks.h" /* for the structs and enum stuff */