diff --git a/drivers/unix/ip_unix.cpp b/drivers/unix/ip_unix.cpp index d9dfd3c736b..0a26b5bbba6 100644 --- a/drivers/unix/ip_unix.cpp +++ b/drivers/unix/ip_unix.cpp @@ -34,8 +34,9 @@ #ifdef WINDOWS_ENABLED #include -#include #include +// Needs to be included after winsocks2.h +#include #include #ifndef UWP_ENABLED #if defined(__MINGW32__) && (!defined(__MINGW64_VERSION_MAJOR) || __MINGW64_VERSION_MAJOR < 4)