]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
make Squid compile again with --disable-internal-dns after recent
authorwessels <>
Wed, 31 May 2006 23:29:00 +0000 (23:29 +0000)
committerwessels <>
Wed, 31 May 2006 23:29:00 +0000 (23:29 +0000)
CacheManager changes.

src/dns.cc
src/main.cc

index 6c2d16115453d8b31f9090142e509c44c800e85d..d0889975904acdcc68465d1ec8d428598235faa4 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: dns.cc,v 1.96 2006/05/29 00:15:02 robertc Exp $
+ * $Id: dns.cc,v 1.97 2006/05/31 17:29:00 wessels Exp $
  *
  * DEBUG: section 34    Dnsserver interface
  * AUTHOR: Harvest Derived
@@ -37,6 +37,7 @@
 #include "Store.h"
 #include "wordlist.h"
 #include "SquidTime.h"
+#include "CacheManager.h"
 
 /* MS VisualStudio Projects are monolitich, so we need the following
    #if to include the external DNS code in compile process when
index 947902f2154e748eeb4ff0a8101e87c0b9ce9f06..5985a3f94623ca40336131c0e1d5daf1af14e999 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: main.cc,v 1.424 2006/05/29 21:44:18 robertc Exp $
+ * $Id: main.cc,v 1.425 2006/05/31 17:29:00 wessels Exp $
  *
  * DEBUG: section 1     Startup and Main Loop
  * AUTHOR: Harvest Derived
@@ -883,7 +883,11 @@ mainInitialize(void)
         fqdncacheRegisterWithCacheManager(manager);
         FwdState::RegisterWithCacheManager(manager);
         httpHeaderRegisterWithCacheManager(manager);
+#if !USE_DNSSERVERS
+
         idnsRegisterWithCacheManager(manager);
+#endif
+
         ipcacheRegisterWithCacheManager(manager);
         Mem::RegisterWithCacheManager(manager);
         netdbRegisterWitHCacheManager(manager);