From 15c4d5006ee6982223777ababfbc2c040f3e344f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Mon, 6 Mar 2017 09:11:03 +0100 Subject: [PATCH] Fix build issue with MSVC windows.h is a mess. --- drivers/unix/ip_unix.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)