X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1032aee2d4fcf5d13377eefaaa2ab627462a8f05..3f20f7d8a388424e6f519a18019e070725d18503:/include/wx/msw/wrapwin.h diff --git a/include/wx/msw/wrapwin.h b/include/wx/msw/wrapwin.h index 5f54a6f0d2..d6bc50a870 100644 --- a/include/wx/msw/wrapwin.h +++ b/include/wx/msw/wrapwin.h @@ -57,6 +57,12 @@ #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 +#endif + #include #if defined(__WXWINCE__) && !defined(__WINDOWS__) @@ -106,3 +112,4 @@ WXDLLEXPORT int wxMSLU_GetSaveFileNameW(void *ofn); #endif // _WX_WRAPWIN_H_ +