From fb62a3cef5960885119f9e87c833520ddf2a9b49 Mon Sep 17 00:00:00 2001 From: Joakim Tjernlund Date: Tue, 13 May 2008 20:03:32 +0200 Subject: Make --enable-snmp cross compile and make libcrypto optional with --without-crypto Autoconfig work by me, the rest was done by "Kirill K. Smirnov" --- bgpd/bgp_snmp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bgpd/bgp_snmp.c') diff --git a/bgpd/bgp_snmp.c b/bgpd/bgp_snmp.c index 3d26890e..576e3e09 100644 --- a/bgpd/bgp_snmp.c +++ b/bgpd/bgp_snmp.c @@ -23,10 +23,12 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA #ifdef HAVE_SNMP #ifdef HAVE_NETSNMP #include -#endif +#include +#else #include #include #include +#endif #include "if.h" #include "log.h" -- cgit v1.2.1