浏览代码

Merge pull request #43 from sebbern/master

Winsock2.h included after windows.h
Sergey Lyubka 12 年之前
父节点
当前提交
fb07a937e7
共有 1 个文件被更改,包括 1 次插入1 次删除
  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