aboutsummaryrefslogtreecommitdiffstats
path: root/packet-snmp.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-10-24 06:39:09 +0000
committerTim Potter <tpot@samba.org>2002-10-24 06:39:09 +0000
commitd3c91154c5fa76ea978658fa7b644d4fea3a093d (patch)
treec109fb36610373cdf8a23e4214197c3fb2e46f5b /packet-snmp.c
parent07d0032f1cb2cf05e5fe30bc89f09f7e20c7a8ee (diff)
This helps packet-snmp.c compile if you don't HAVE_NET_SNMP or HAVE_UCD_SNMP.
svn path=/trunk/; revision=6492
Diffstat (limited to 'packet-snmp.c')
-rw-r--r--packet-snmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-snmp.c b/packet-snmp.c
index 0fe1b496ad..125ae98e7b 100644
--- a/packet-snmp.c
+++ b/packet-snmp.c
@@ -10,7 +10,7 @@
*
* See RFCs 2570-2576 for SNMPv3
*
- * $Id: packet-snmp.c,v 1.98 2002/10/23 18:24:04 guy Exp $
+ * $Id: packet-snmp.c,v 1.99 2002/10/24 06:39:09 tpot Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -57,7 +57,7 @@
# include <net-snmp/net-snmp-config.h>
# include <net-snmp/mib_api.h>
# include <net-snmp/library/default_store.h>
-#else
+#elif defined(HAVE_UCD_SNMP)
# include <ucd-snmp/ucd-snmp-config.h>
# include <ucd-snmp/asn1.h>
# include <ucd-snmp/snmp_api.h>