Merge pull request #3268 from esdrubal/mono-sym-enable
[mono.git] / mono / io-layer / io-layer.h
index efb6d1e101d3777b8b6b9e09fbb5be6a2bfa51c6..a3cbe2abfee3419be56e504891aa2e749f9ed3cf 100755 (executable)
@@ -14,9 +14,9 @@
 #if defined(__WIN32__) || defined(_WIN32)
 /* Native win32 */
 #define __USE_W32_SOCKETS
+#include <winsock2.h>
 #include <windows.h>
 #include <winbase.h>
-#include <winsock2.h>
 /*
  * The mingw version says:
  * /usr/i686-pc-mingw32/sys-root/mingw/include/ws2tcpip.h:38:2: error: #error "ws2tcpip.h is not compatible with winsock.h. Include winsock2.h instead."