From: serassio <> Date: Mon, 21 Jan 2008 00:36:43 +0000 (+0000) Subject: Windows port: Visual Studio needs winsock2.h before ws2tcpip.h inclusion. X-Git-Tag: BASIC_TPROXY4~171 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80a4fac2ebd2994ce029699e7365e79b3bc38510;p=thirdparty%2Fsquid.git Windows port: Visual Studio needs winsock2.h before ws2tcpip.h inclusion. --- diff --git a/include/squid_mswin.h b/include/squid_mswin.h index 9c398df0b6..6f0468d74b 100755 --- a/include/squid_mswin.h +++ b/include/squid_mswin.h @@ -1,5 +1,5 @@ /* - * $Id: squid_mswin.h,v 1.7 2007/12/14 23:11:44 amosjeffries Exp $ + * $Id: squid_mswin.h,v 1.8 2008/01/20 17:36:43 serassio Exp $ * * AUTHOR: Andrey Shorin * AUTHOR: Guido Serassio @@ -211,6 +211,9 @@ struct timezone #include #include #include +#if defined(_MSC_VER) /* Microsoft C Compiler ONLY */ +#include +#endif #include #if defined(_MSC_VER) /* Microsoft C Compiler ONLY */ /* Hack to suppress compiler warnings on FD_SET() & FD_CLR() */