Index: include/util.h
===================================================================
RCS file: /cvsroot/squid/squid/include/util.h,v
retrieving revision 1.11
diff -u -p -r1.11 util.h
--- include/util.h	6 Apr 2002 11:34:49 -0000	1.11
+++ include/util.h	1 Sep 2002 18:58:38 -0000
@@ -45,10 +45,12 @@
 #endif
 
 #if !defined(SQUIDHOSTNAMELEN)
+#ifndef _SQUID_MSWIN_
 #include <sys/param.h>
 #ifndef _SQUID_NETDB_H_		/* need protection on NEXTSTEP */
 #define _SQUID_NETDB_H_
 #include <netdb.h>
+#endif
 #endif
 #if !defined(MAXHOSTNAMELEN) || (MAXHOSTNAMELEN < 128)
 #define SQUIDHOSTNAMELEN 128
Index: lib/rfc1123.c
===================================================================
RCS file: /cvsroot/squid/squid/lib/rfc1123.c,v
retrieving revision 1.6
diff -u -p -r1.6 rfc1123.c
--- lib/rfc1123.c	18 Oct 2001 20:52:10 -0000	1.6
+++ lib/rfc1123.c	1 Sep 2002 18:58:38 -0000
@@ -260,6 +260,7 @@ parse_rfc1123(const char *str)
 #elif defined (_timezone)
 #elif defined(_SQUID_AIX_)
 #elif defined(_SQUID_CYGWIN_)
+#elif defined(_SQUID_MSWIN_)
 #else
 	extern time_t timezone;
 #endif
@@ -269,7 +270,7 @@ parse_rfc1123(const char *str)
 	 */
 	if (tm->tm_isdst > 0)
 	    dst = -3600;
-#if defined ( _timezone) || defined(_SQUID_CYGWIN_)
+#if defined ( _timezone) || defined(_SQUID_CYGWIN_) || defined(_SQUID_MSWIN_)
 	t -= (_timezone + dst);
 #else
 	t -= (timezone + dst);

