浏览代码

Update civetweb.c

Added MSC_VER check to the include for ws2tcpip, as it broke the linux build.
grenclave 11 年之前
父节点
当前提交
b9aa135006
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/civetweb.c

+ 1 - 1
src/civetweb.c

@@ -46,7 +46,7 @@
 #undef WIN32_LEAN_AND_MEAN
 #endif
 
-#ifdef USE_IPV6
+#ifdef USE_IPV6 && defined(_MSC_VER)
 #include <ws2tcpip.h>
 #endif