From a14fa8f8ff19acd7a3fc2a46aeaea0108b8bcfa1 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 27 Nov 2015 23:24:59 +0100 Subject: curl_setup.h: undef freeaddrinfo in c-ares block to fix build Fixes warnings 78c25c854a added. --- lib/curl_setup.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') 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 -- cgit v1.2.3