浏览代码

fix last commit

wangyu- 7 年之前
父节点
当前提交
6153aca5d8
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      common.h

+ 1 - 0
common.h

@@ -57,6 +57,7 @@
 
 
 #if defined(__MINGW32__)
 #if defined(__MINGW32__)
 #include <winsock2.h>
 #include <winsock2.h>
+#include <ws2ipdef.h>
 typedef unsigned char u_int8_t;
 typedef unsigned char u_int8_t;
 typedef unsigned short u_int16_t;
 typedef unsigned short u_int16_t;
 typedef unsigned int u_int32_t;
 typedef unsigned int u_int32_t;