From b55fa77d16c2833bbd4e41dcde1b6e867c7e90c1 Mon Sep 17 00:00:00 2001 From: serassio <> Date: Sat, 13 May 2006 01:14:31 +0000 Subject: [PATCH] Fix Cygwin build errors. --- src/ufsdump.cc | 17 ++++++++++++++++- tools/squidclient.cc | 5 ++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/ufsdump.cc b/src/ufsdump.cc index 526bea76c1..c15f5ab700 100644 --- a/src/ufsdump.cc +++ b/src/ufsdump.cc @@ -1,6 +1,6 @@ /* - * $Id: ufsdump.cc,v 1.6 2006/05/03 14:04:44 robertc Exp $ + * $Id: ufsdump.cc,v 1.7 2006/05/12 19:14:31 serassio Exp $ * * DEBUG: section 0 UFS Store Dump * AUTHOR: Robert Collins @@ -44,10 +44,25 @@ #include #include +#if USE_WIN32_SERVICE +#include "squid_windows.h" +#endif + /* stub functions for parts of squid not factored to be dynamic yet */ void shut_down(int) {} +#if USE_WIN32_SERVICE +void +rotate_logs(int) +{} + +void +reconfigure(int) +{} + +#endif + #if WHENITMINIMAL void eventAdd(const char *name, EVH * func, void *arg, double when, int, bool cbdata) diff --git a/tools/squidclient.cc b/tools/squidclient.cc index 1b732d4bbc..f8a80c319b 100644 --- a/tools/squidclient.cc +++ b/tools/squidclient.cc @@ -1,6 +1,6 @@ /* - * $Id: squidclient.cc,v 1.2 2006/05/11 21:41:50 wessels Exp $ + * $Id: squidclient.cc,v 1.3 2006/05/12 19:14:31 serassio Exp $ * * DEBUG: section 0 WWW Client * AUTHOR: Harvest Derived @@ -35,6 +35,9 @@ #include "config.h" +#ifdef _SQUID_WIN32_ +#include +#endif #include #include #include -- 2.47.2