]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix configure with --disable-internal-dns compile error
authorZhanpeng Chen <lowstz@gmail.com>
Fri, 7 Jun 2013 02:32:36 +0000 (20:32 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 7 Jun 2013 02:32:36 +0000 (20:32 -0600)
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

index c0f9f159274ad38f4297ccd5d032bc2257b8bf68..3c8c9564f7aec2fc9a43f7e70eeacdeb70db6eb0 100644 (file)
 #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.