summaryrefslogtreecommitdiff
path: root/net/net-snmp/patches/patch-fa
blob: dded9b68ef202944f81c4502df544fbd40b67f41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-fa,v 1.1.4.1 2010/11/28 14:04:37 tron Exp $

--- include/net-snmp/system/netbsd.h.orig	2007-03-08 15:52:34.000000000 +0000
+++ include/net-snmp/system/netbsd.h
@@ -38,5 +38,9 @@
 # define netbsd1 netbsd1
 #endif
 
+#if __NetBSD_Version__ >= 499005800
+#define NETBSD_STATS_VIA_SYSCTL
+#endif /* __NetBSD_Version__ >= 499005800 */
+
 /* define the extra mib modules that are supported */
 #define NETSNMP_INCLUDE_HOST_RESOURCES