$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