]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix configure with --disable-internal-dns compile error
authorZhanpeng Chen <lowstz@gmail.com>
Tue, 11 Jun 2013 14:05:04 +0000 (08:05 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 11 Jun 2013 14:05:04 +0000 (08:05 -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 31b83d18a9da23b186f37e059308e6f706260abc..563cb5cf58583a460d4ca2b8a6f3b6b29d297f3d 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.