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

18 lines
485 B
Plaintext

$OpenBSD: patch-bgpd_bgp_snmp_c,v 1.3 2007/09/12 20:31:18 rui Exp $
--- bgpd/bgp_snmp.c.orig Fri May 4 19:50:58 2007
+++ bgpd/bgp_snmp.c Tue Sep 11 16:52:20 2007
@@ -21,12 +21,8 @@ Software Foundation, Inc., 59 Temple Place - Suite 330
#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"