openbsd-ports/net/net-snmp/patches/patch-include_net-snmp_system_openbsd_h
2011-11-18 12:39:06 +00:00

13 lines
492 B
Plaintext

$OpenBSD: patch-include_net-snmp_system_openbsd_h,v 1.6 2011/11/18 12:39:06 sthen Exp $
--- include/net-snmp/system/openbsd.h.orig Wed Aug 31 03:21:51 2011
+++ include/net-snmp/system/openbsd.h Thu Sep 1 23:24:50 2011
@@ -16,3 +16,8 @@
/* define the extra mib modules that are supported */
#define NETSNMP_INCLUDE_HOST_RESOURCES
#define NETSNMP_INCLUDE_IFTABLE_REWRITES
+
+#undef INP_NEXT_SYMBOL
+#define INP_NEXT_SYMBOL inp_next
+#undef INP_PREV_SYMBOL
+#define INP_PREV_SYMBOL inp_prev