this small patch fixes the detection of IPv6 under mingw. The header
<ws2tcpip.h> is already used by <sys/socket.h>.
* m4/sockpfaf.m4 (gl_SOCKET_FAMILIES): Include <ws2tcpip.h> for struct
in6_addr.
Signed-off-by: Eric Blake <eblake@redhat.com>
+2010-06-15 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ ipv6: fix detection under mingw
+ * m4/sockpfaf.m4 (gl_SOCKET_FAMILIES): Include <ws2tcpip.h> for struct
+ in6_addr.
+
2010-06-14 Ben Pfaff <blp@cs.stanford.edu>
* m4/strtod.m4 (gl_FUNC_STRTOD): Factor out common code. Assume
#endif
#ifdef HAVE_WINSOCK2_H
#include <winsock2.h>
+#endif
+#ifdef HAVE_WS2TCPIP_H
+#include <ws2tcpip.h>
#endif]],
[[int x = AF_INET6; struct in6_addr y; struct sockaddr_in6 z;
if (&x && &y && &z) return 0;]])],