- rc scripts added (names suggested by Nigel Taylor, I was having a hard time coming up with something nice that avoid a conflict with base snmpd now the rc.d namespace is shared).
25 lines
767 B
Plaintext
25 lines
767 B
Plaintext
$OpenBSD: patch-include_net-snmp_system_openbsd_h,v 1.5 2011/07/07 20:02:02 sthen Exp $
|
|
--- include/net-snmp/system/openbsd.h.orig Fri Jul 1 23:35:46 2011
|
|
+++ include/net-snmp/system/openbsd.h Thu Jul 7 00:56:08 2011
|
|
@@ -1,10 +1,9 @@
|
|
#include "netbsd.h"
|
|
|
|
#define netbsd1 netbsd1 /* we're really close to this */
|
|
+#define openbsd openbsd
|
|
#define UVM
|
|
|
|
-#undef MBPOOL_SYMBOL
|
|
-#undef MCLPOOL_SYMBOL
|
|
#undef TOTAL_MEMORY_SYMBOL
|
|
|
|
/* at least OpenBSD/SPARC 3.7 doesn't define this */
|
|
@@ -15,3 +14,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
|