summaryrefslogtreecommitdiffstats
path: root/ripd/rip_snmp.c
diff options
context:
space:
mode:
authorpaul <paul>2003-03-18 01:03:05 +0100
committerpaul <paul>2003-03-18 01:03:05 +0100
commit07661cb5a81a46c9a177bbc0d963a6a74fbbce43 (patch)
treec6879c4d9bd2a70f929f5dc3261d89b1b0977f7c /ripd/rip_snmp.c
parentAmir Guindehi <amir@datacore.ch> (diff)
downloadfrr-07661cb5a81a46c9a177bbc0d963a6a74fbbce43.tar.xz
frr-07661cb5a81a46c9a177bbc0d963a6a74fbbce43.zip
Fix build for net-snmp
Diffstat (limited to 'ripd/rip_snmp.c')
-rw-r--r--ripd/rip_snmp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ripd/rip_snmp.c b/ripd/rip_snmp.c
index dc2b62122..5a5060fd9 100644
--- a/ripd/rip_snmp.c
+++ b/ripd/rip_snmp.c
@@ -22,6 +22,9 @@
#include <zebra.h>
#ifdef HAVE_SNMP
+#ifdef HAVE_NETSNMP
+#include <net-snmp/net-snmp-config.h>
+#endif
#include <asn1.h>
#include <snmp.h>
#include <snmp_impl.h>