From: Zhanpeng Chen Date: Fri, 7 Jun 2013 02:32:36 +0000 (-0600) Subject: Fix configure with --disable-internal-dns compile error X-Git-Tag: SQUID_3_4_0_1~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=818892e17821f16c45f0c412d417fdbea3be5f6f;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 c0f9f15927..3c8c9564f7 100644 --- a/src/dns.cc +++ b/src/dns.cc @@ -40,6 +40,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.