From: Daniel Stenberg Date: Tue, 15 Nov 2005 14:39:52 +0000 (+0000) Subject: include ws2tcpip.h in an attempt to detect some of the ipv6 structs better X-Git-Tag: curl-7_15_1~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2e553a82e37013bf4c0814214f183aebd96c142;p=thirdparty%2Fcurl.git include ws2tcpip.h in an attempt to detect some of the ipv6 structs better in mingw builds --- diff --git a/ares/configure.ac b/ares/configure.ac index c20685bc89..24dc7ab11b 100644 --- a/ares/configure.ac +++ b/ares/configure.ac @@ -68,6 +68,7 @@ AC_CHECK_HEADERS( sys/ioctl.h \ netdb.h \ winsock.h \ + ws2tcpip.h \ netinet/in.h \ net/if.h \ arpa/nameser.h \ @@ -152,6 +153,9 @@ CARES_CHECK_STRUCT( #ifdef HAVE_WINSOCK_H #include #endif +#ifdef HAVE_WS2TCPIP.H +#include +#endif #ifdef HAVE_NETINET_IN_H #include #endif @@ -168,6 +172,9 @@ CARES_CHECK_STRUCT( #ifdef HAVE_WINSOCK_H #include #endif +#ifdef HAVE_WS2TCPIP.H +#include +#endif #ifdef HAVE_NETINET_IN_H #include #endif @@ -187,6 +194,9 @@ AC_CHECK_MEMBER(struct sockaddr_in6.sin6_scope_id, #ifdef HAVE_WINSOCK_H #include #endif +#ifdef HAVE_WS2TCPIP.H +#include +#endif #ifdef HAVE_NETINET_IN_H #include #endif @@ -203,6 +213,9 @@ AC_CHECK_MEMBER(struct addrinfo.ai_flags, #ifdef HAVE_WINSOCK_H #include #endif +#ifdef HAVE_WS2TCPIP.H +#include +#endif #ifdef HAVE_NETINET_IN_H #include #endif