From 80a4fac2ebd2994ce029699e7365e79b3bc38510 Mon Sep 17 00:00:00 2001 From: serassio <> Date: Mon, 21 Jan 2008 00:36:43 +0000 Subject: [PATCH] Windows port: Visual Studio needs winsock2.h before ws2tcpip.h inclusion. --- include/squid_mswin.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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() */ -- 2.47.2