Make it compile without HAVE_C_ARES and HAVE_GETHOSTBYNAME2.
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 9 Aug 2010 11:19:15 +0000 (11:19 +0000)
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 9 Aug 2010 11:19:15 +0000 (11:19 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33742 f5534014-38df-0310-8fa8-9805f1628bb7

epan/addr_resolv.c

index fe9d915a1bd26482b61e3545a0cdeca6d2370ae0..47726ffe3b4340145f63bc6b4c8fcb274d023137 100644 (file)
@@ -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 */