From d2fe116510fb05a452841becd15d8d2b7cd54cd5 Mon Sep 17 00:00:00 2001 From: Zhanpeng Chen Date: Tue, 11 Jun 2013 08:05:04 -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 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. -- 2.47.2