diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-06-01 14:40:35 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-06-01 14:40:35 +0200 |
commit | 571280678594c4ccfbfcad854c76e02d0e350809 (patch) | |
tree | 05e53f68b0bbf63c44c216e73506350500dc7a4f | |
parent | 923ce4a5909aa7ef1379aa93c6eabcc9a225dd4e (diff) | |
download | curl-571280678594c4ccfbfcad854c76e02d0e350809.tar.gz |
curl_addrinfo: use same #ifdef conditions in source as header
... for curl_dofreeaddrinfo
-rw-r--r-- | lib/curl_addrinfo.c | 3 |
1 files changed, 2 insertions, 1 deletions
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() * |