From: Daniel Stenberg Date: Fri, 1 Jun 2018 12:40:35 +0000 (+0200) Subject: curl_addrinfo: use same #ifdef conditions in source as header X-Git-Tag: curl-7_61_0~91 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=571280678594c4ccfbfcad854c76e02d0e350809;p=curl curl_addrinfo: use same #ifdef conditions in source as header ... for curl_dofreeaddrinfo --- diff --git a/lib/curl_addrinfo.c b/lib/curl_addrinfo.c index 55d5a3942..fd49679c9 100644 --- a/lib/curl_addrinfo.c +++ b/lib/curl_addrinfo.c @@ -536,7 +536,8 @@ Curl_addrinfo *Curl_unix2addr(const char *path, bool *longpath, bool abstract) } #endif -#if defined(CURLDEBUG) && defined(HAVE_FREEADDRINFO) +#if defined(CURLDEBUG) && defined(HAVE_GETADDRINFO) && \ + defined(HAVE_FREEADDRINFO) /* * curl_dofreeaddrinfo() *