From: stig Date: Mon, 9 Aug 2010 11:19:15 +0000 (+0000) Subject: Make it compile without HAVE_C_ARES and HAVE_GETHOSTBYNAME2. X-Git-Url: http://git.samba.org/samba.git/?p=obnox%2Fwireshark%2Fwip.git;a=commitdiff_plain;h=b6f4a132e78b781c498e93b5718fd98850a1527d Make it compile without HAVE_C_ARES and HAVE_GETHOSTBYNAME2. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33742 f5534014-38df-0310-8fa8-9805f1628bb7 --- diff --git a/epan/addr_resolv.c b/epan/addr_resolv.c index fe9d915a1b..47726ffe3b 100644 --- a/epan/addr_resolv.c +++ b/epan/addr_resolv.c @@ -3094,7 +3094,7 @@ get_host_ipaddr6(const char *host, struct e_in6_addr *addrp) int nfds; fd_set rfds, wfds; async_hostent_t ahe; -#else /* HAVE_C_ARES */ +#elif defined(HAVE_GETHOSTBYNAME2) struct hostent *hp; #endif /* HAVE_C_ARES */