config.tests/unix/ipv6/ipv6test.cpp
changeset 33 3e2da88830cd
parent 18 2f34d5167611
--- a/config.tests/unix/ipv6/ipv6test.cpp	Tue Jul 06 15:10:48 2010 +0300
+++ b/config.tests/unix/ipv6/ipv6test.cpp	Wed Aug 18 10:37:55 2010 +0300
@@ -46,9 +46,14 @@
 #define _HPUX_SOURCE
 #endif
 
+#ifdef __MINGW32__
+#include <winsock2.h>
+#include <ws2tcpip.h>
+#else
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
+#endif
 
 int main()
 {