openbsd-ports/net/quagga/patches/patch-zebra_zebra_snmp_c

18 lines
439 B
Plaintext

$OpenBSD: patch-zebra_zebra_snmp_c,v 1.3 2007/09/12 20:31:18 rui Exp $
--- zebra/zebra_snmp.c.orig Wed Oct 13 19:45:08 2004
+++ zebra/zebra_snmp.c Tue Sep 11 16:52:21 2007
@@ -22,12 +22,8 @@
#include <zebra.h>
#ifdef HAVE_SNMP
-#ifdef HAVE_NETSNMP
#include <net-snmp/net-snmp-config.h>
-#endif
-#include <asn1.h>
-#include <snmp.h>
-#include <snmp_impl.h>
+#include <net-snmp/net-snmp-includes.h>
#include "if.h"
#include "log.h"