From: wessels <> Date: Wed, 31 May 2006 23:29:00 +0000 (+0000) Subject: make Squid compile again with --disable-internal-dns after recent X-Git-Tag: SQUID_3_0_PRE4~67 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5615c096f4cb70e8f9d6b15c347800094b8a8af7;p=thirdparty%2Fsquid.git make Squid compile again with --disable-internal-dns after recent CacheManager changes. --- diff --git a/src/dns.cc b/src/dns.cc index 6c2d161154..d088997590 100644 --- a/src/dns.cc +++ b/src/dns.cc @@ -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 diff --git a/src/main.cc b/src/main.cc index 947902f215..5985a3f946 100644 --- a/src/main.cc +++ b/src/main.cc @@ -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);