]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix Cygwin build errors.
authorserassio <>
Sat, 13 May 2006 01:14:31 +0000 (01:14 +0000)
committerserassio <>
Sat, 13 May 2006 01:14:31 +0000 (01:14 +0000)
src/ufsdump.cc
tools/squidclient.cc

index 526bea76c1004e3f50176891432162290cad281b..c15f5ab7006f59c6166e11b58976d887c75ac1fb 100644 (file)
@@ -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
 #include <iostream>
 #include <cassert>
 
+#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)
index 1b732d4bbcd4d0f474ce0e623b23438f7c658a79..f8a80c319be1e899337ff635163a87bf481b857b 100644 (file)
@@ -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 <io.h>
+#endif
 #include <stdio.h>
 #include <stdlib.h>
 #include <sys/types.h>