Преглед на файлове

Update civetweb.c

Added MSC_VER check to the include for ws2tcpip, as it broke the linux build.
grenclave преди 11 години
родител
ревизия
99a418c726
променени са 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