]> The Tcpdump Group git mirrors - tcpdump/blobdiff - configure
improved check for ipv6 support on windows (autotools)
[tcpdump] / configure
index 60a0786901cbf5cb423e84f51ca57cdd7038ab78..acf2d14c46c5c2d08d3e1c377d5abc7265fc6e33 100755 (executable)
--- a/configure
+++ b/configure
@@ -4738,8 +4738,12 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 /* AF_INET6 available check */
 #include <sys/types.h>
+#ifdef _WIN32
+#include <ws2tcpip.h>
+#else
 #include <sys/socket.h>
 #include <netinet/in.h>
+#endif
 #ifdef AF_INET6
 void
 foo(struct in6_addr *addr)