openbsd-ports/net/quagga/patches/patch-bgpd_bgp_snmp_c
danh 7a537a525f convert snmp FLAVOR to use net-snmp.
I do not see how this worked in the first place without smux support.
2004-10-13 03:10:49 +00:00

21 lines
530 B
Plaintext

$OpenBSD: patch-bgpd_bgp_snmp_c,v 1.1 2004/10/13 03:10:49 danh Exp $
--- bgpd/bgp_snmp.c.orig Wed Jun 18 21:21:07 2003
+++ bgpd/bgp_snmp.c Tue Oct 12 22:51:17 2004
@@ -21,12 +21,14 @@ Software Foundation, Inc., 59 Temple Pla
#include <zebra.h>
#ifdef HAVE_SNMP
-#ifdef HAVE_NETSNMP
+#ifdef HAVE_NET_SNMP
#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 /* HAVE_NET_SNMP */
#include "if.h"
#include "log.h"