Explorar o código

Fixed an error in mongoose.c that caused a lot of errors where winsock2.h was included after windows.h

Sebastian Reinhard %!s(int64=12) %!d(string=hai) anos
pai
achega
025cd283c4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      mongoose.c

+ 1 - 1
mongoose.c

@@ -59,8 +59,8 @@
 
 #if defined(_WIN32) && !defined(__SYMBIAN32__) // Windows specific
 #define _WIN32_WINNT 0x0400 // To make it link in VS2005
-#include <windows.h>
 #include <winsock2.h>
+#include <windows.h>
 #include <ws2tcpip.h>
 
 #ifndef PATH_MAX