From f75a4d1d87773e09f315a031a6ba9cab8a66df87 Mon Sep 17 00:00:00 2001 From: Gilbert Ramirez Date: Tue, 27 Feb 2001 19:39:48 +0000 Subject: Do a better job of #ifdef'ing out 3 variables in the case of non-UCD-SNMP and linux. svn path=/trunk/; revision=3081 --- packet-snmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packet-snmp.c') diff --git a/packet-snmp.c b/packet-snmp.c index 79a2c13323..2d7d614c5f 100644 --- a/packet-snmp.c +++ b/packet-snmp.c @@ -8,7 +8,7 @@ * * See RFCs 1905, 1906, 1909, and 1910 for SNMPv2u. * - * $Id: packet-snmp.c,v 1.59 2001/01/30 07:16:28 guy Exp $ + * $Id: packet-snmp.c,v 1.60 2001/02/27 19:39:48 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -2123,7 +2123,7 @@ dissect_smux(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) void proto_register_snmp(void) { -#ifdef linux +#if defined(HAVE_UCD_SNMP_SNMP_H) && defined(linux) void *libsnmp_handle; int (*snmp_set_suffix_only_p)(int); int (*ds_set_int_p)(int, int, int); -- cgit v1.2.3