openbsd-ports/net/quagga/patches/patch-zebra_zebra_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
498 B
Plaintext

$OpenBSD: patch-zebra_zebra_snmp_c,v 1.1 2004/10/13 03:10:49 danh Exp $
--- zebra/zebra_snmp.c.orig Wed Jun 18 21:21:08 2003
+++ zebra/zebra_snmp.c Tue Oct 12 22:50:06 2004
@@ -22,12 +22,14 @@
#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"