summaryrefslogtreecommitdiff
path: root/ripd
diff options
context:
space:
mode:
authorpaul <paul>2003-03-18 00:03:05 +0000
committerpaul <paul>2003-03-18 00:03:05 +0000
commit07661cb5a81a46c9a177bbc0d963a6a74fbbce43 (patch)
treec6879c4d9bd2a70f929f5dc3261d89b1b0977f7c /ripd
parent1b5d019a115bcf69786c870feb93f685ce806ff0 (diff)
Fix build for net-snmp
Diffstat (limited to 'ripd')
-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 dc2b6212..5a5060fd 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>