Skip to content
Snippets Groups Projects
Commit 78c25c85 authored by Dan Fandrich's avatar Dan Fandrich
Browse files

lib: Only define curl_dofreeaddrinfo if struct addrinfo is available

parent db05d7a7
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,8 @@ Curl_addrinfo *Curl_str2addr(char *dotted, int port);
Curl_addrinfo *Curl_unix2addr(const char *path);
#endif
#if defined(CURLDEBUG) && defined(HAVE_FREEADDRINFO)
#if defined(CURLDEBUG) && defined(HAVE_GETADDRINFO) && \
defined(HAVE_FREEADDRINFO)
void
curl_dofreeaddrinfo(struct addrinfo *freethis,
int line, const char *source);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment