diff options
author | Joakim Tjernlund <Joakim.Tjernlund@transmode.se> | 2008-05-13 20:03:32 +0200 |
---|---|---|
committer | Joakim Tjernlund <Joakim.Tjernlund@transmode.se> | 2008-08-25 09:48:30 +0200 |
commit | fb62a3cef5960885119f9e87c833520ddf2a9b49 (patch) | |
tree | cf6c5cde38c91ad555021f44793b92fd34de8198 /bgpd/bgp_snmp.c | |
parent | [trivia] Make 'make dist' happy about ChangeLog expunge (diff) | |
download | frr-fb62a3cef5960885119f9e87c833520ddf2a9b49.tar.xz frr-fb62a3cef5960885119f9e87c833520ddf2a9b49.zip |
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 'bgpd/bgp_snmp.c')
-rw-r--r-- | bgpd/bgp_snmp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bgpd/bgp_snmp.c b/bgpd/bgp_snmp.c index 3d26890eb..576e3e093 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 <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" |