From: Zhanpeng Chen Date: Tue, 11 Jun 2013 14:05:04 +0000 (-0600) Subject: Fix configure with --disable-internal-dns compile error X-Git-Tag: SQUID_3_3_6~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d2fe116510fb05a452841becd15d8d2b7cd54cd5;p=thirdparty%2Fsquid.git Fix configure with --disable-internal-dns compile error dns.cc: In function variable_list* snmp_netDnsFn(variable_list*,s=nint*): dns.cc:150:5: error: snmpDebugOid was not declared in this scope --- diff --git a/src/dns.cc b/src/dns.cc index 31b83d18a9..563cb5cf58 100644 --- a/src/dns.cc +++ b/src/dns.cc @@ -39,6 +39,10 @@ #include "Store.h" #include "wordlist.h" +#if SQUID_SNMP +#include "snmp_core.h" +#endif + /* MS VisualStudio Projects are monolitich, so we need the following #if to include the external DNS code in compile process when using external DNS.