aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-11-27 23:24:59 +0100
committerDaniel Stenberg <daniel@haxx.se>2015-11-28 17:26:38 +0100
commita14fa8f8ff19acd7a3fc2a46aeaea0108b8bcfa1 (patch)
treede7bf4bd9366727eacaf3499eed43c9830818d60 /lib
parent81ae6d01fa9c0b599e4831fa268acf5b6bc8b142 (diff)
curl_setup.h: undef freeaddrinfo in c-ares block to fix build
Fixes warnings 78c25c854a added.
Diffstat (limited to 'lib')
-rw-r--r--lib/curl_setup.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/curl_setup.h b/lib/curl_setup.h
index 517bb83bf..9f511f228 100644
--- a/lib/curl_setup.h
+++ b/lib/curl_setup.h
@@ -527,6 +527,7 @@
# define CURLRES_ARES
/* now undef the stock libc functions just to avoid them being used */
# undef HAVE_GETADDRINFO
+# undef HAVE_FREEADDRINFO
# undef HAVE_GETHOSTBYNAME
#elif defined(USE_THREADS_POSIX) || defined(USE_THREADS_WIN32)
# define CURLRES_ASYNCH