summaryrefslogtreecommitdiff
path: root/ripd
diff options
context:
space:
mode:
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>2008-05-13 20:03:32 +0200
committerJoakim Tjernlund <Joakim.Tjernlund@transmode.se>2008-08-25 09:48:30 +0200
commitfb62a3cef5960885119f9e87c833520ddf2a9b49 (patch)
treecf6c5cde38c91ad555021f44793b92fd34de8198 /ripd
parentb38309a4ee831a440ef78f8a27db584f2f8e8276 (diff)
Make --enable-snmp cross compile and make libcrypto optional with --without-crypto
Autoconfig work by me, the rest was done by "Kirill K. Smirnov" <lich@math.spbu.ru>
Diffstat (limited to 'ripd')
-rw-r--r--ripd/rip_snmp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ripd/rip_snmp.c b/ripd/rip_snmp.c
index c1bec762..d02c7610 100644
--- a/ripd/rip_snmp.c
+++ b/ripd/rip_snmp.c
@@ -24,10 +24,12 @@
#ifdef HAVE_SNMP
#ifdef HAVE_NETSNMP
#include <net-snmp/net-snmp-config.h>
-#endif
+#include <net-snmp/net-snmp-includes.h>
+#else
#include <asn1.h>
#include <snmp.h>
#include <snmp_impl.h>
+#endif
#include "if.h"
#include "log.h"