openbsd-ports/net/net-snmp/patches/patch-include_net-snmp_system_openbsd_h
2010-10-25 22:59:12 +00:00

23 lines
720 B
Plaintext

$OpenBSD: patch-include_net-snmp_system_openbsd_h,v 1.4 2010/10/25 22:59:12 sthen Exp $
--- include/net-snmp/system/openbsd.h.orig Thu Jun 21 15:01:08 2007
+++ include/net-snmp/system/openbsd.h Thu Oct 14 19:12:35 2010
@@ -3,8 +3,6 @@
#define netbsd1 netbsd1 /* we're really close to this */
#define UVM
-#undef MBPOOL_SYMBOL
-#undef MCLPOOL_SYMBOL
#undef TOTAL_MEMORY_SYMBOL
/* at least OpenBSD/SPARC 3.7 doesn't define this */
@@ -15,3 +13,9 @@
/* 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
+