]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/wrapwin.h
added wxGLCanvas::IsDisplaySupported() (patch 1879906)
[wxWidgets.git] / include / wx / msw / wrapwin.h
index 5f54a6f0d2dbcf1bf6f2c5a5b3548231d57d4d4d..d6bc50a870e311d10aa517a261f0cb042d78d9ed 100644 (file)
 #undef __WINDOWS__
 #endif
 
+// For IPv6 support, we must include winsock2.h before winsock.h, and
+// windows.h include winsock.h so do it before including it
+#if wxUSE_IPV6
+    #include <winsock2.h>
+#endif
+
 #include <windows.h>
 
 #if defined(__WXWINCE__) && !defined(__WINDOWS__)
@@ -106,3 +112,4 @@ WXDLLEXPORT int wxMSLU_GetSaveFileNameW(void *ofn);
 
 #endif // _WX_WRAPWIN_H_
 
+