From 818892e17821f16c45f0c412d417fdbea3be5f6f Mon Sep 17 00:00:00 2001 From: Zhanpeng Chen Date: Thu, 6 Jun 2013 20:32:36 -0600 Subject: [PATCH] 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 --- src/dns.cc | 4 ++++ 1 file changed, 4 insertions(+) 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. -- 2.47.2