From f36eab2608f473a7054f2c75c411abd676657a70 Mon Sep 17 00:00:00 2001 From: Gisle Vanem Date: Mon, 8 Dec 2008 16:12:11 +0000 Subject: [PATCH] Added needed defines for Watt-32 on Windows. --- ares/config-win32.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ares/config-win32.h b/ares/config-win32.h index dde9978f9..6fd8288ad 100644 --- a/ares/config-win32.h +++ b/ares/config-win32.h @@ -168,6 +168,15 @@ #define SOCKET int #define NS_INADDRSZ 4 #define HAVE_ARPA_NAMESER_H 1 + #define HAVE_ARPA_INET_H 1 + #define HAVE_NETDB_H 1 + #define HAVE_NETINET_IN_H 1 + #define HAVE_SYS_SOCKET_H 1 + #define HAVE_NETINET_TCP_H 1 + #define HAVE_AF_INET6 1 + #define HAVE_PF_INET6 1 + #define HAVE_STRUCT_IN6_ADDR 1 + #define HAVE_STRUCT_SOCKADDR_IN6 1 #undef HAVE_WINSOCK_H #undef HAVE_WINSOCK2_H #undef HAVE_WS2TCPIP_H