Commit 86f43e4c authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Require HAVE_FREEHOSTENT to be defined if we are to use

getipnodebyname.
parent 73b0a562
......@@ -219,7 +219,8 @@ typedef unsigned long uint32_t;
#endif /* USE_INET6 */
#if defined(HAVE_GETIPNODEBYNAME) && defined(AI_ADDRCONFIG)
#if (defined(HAVE_GETIPNODEBYNAME) && defined(AI_ADDRCONFIG) \
&& defined(HAVE_FREEHOSTENT))
# define USE_GETIPNODEBYNAME 1
#else
# undef USE_GETIPNODEBYNAME
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment