From 2664549916e377bbe82185a2cc38025b906aed3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sat, 18 Mar 2017 23:49:09 +0100 Subject: [PATCH] Prevent MSVC build issue after clang-format includes reorder --- drivers/unix/ip_unix.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/unix/ip_unix.cpp b/drivers/unix/ip_unix.cpp index df2b024b41a..37aba7bbf27 100644 --- a/drivers/unix/ip_unix.cpp +++ b/drivers/unix/ip_unix.cpp @@ -33,10 +33,11 @@ #include #ifdef WINDOWS_ENABLED - #include - #include - #include #include + #include + // Needs to be included after winsock2.h + #include + #include #ifndef WINRT_ENABLED #if defined(__MINGW32__ ) && (!defined(__MINGW64_VERSION_MAJOR) || __MINGW64_VERSION_MAJOR < 4) // MinGW-w64 on Ubuntu 12.04 (our Travis build env) has bugs in this code where