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

18 lines
430 B
Plaintext

$OpenBSD: patch-ripd_rip_snmp_c,v 1.3 2007/09/12 20:31:18 rui Exp $
--- ripd/rip_snmp.c.orig Thu Sep 29 15:41:12 2005
+++ ripd/rip_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"