$NetBSD: patch-ab,v 1.9 2007/01/26 02:49:25 markd Exp $ --- kcontrol/info/memory_netbsd.cpp.orig 2007-01-16 00:31:40.000000000 +1300 +++ kcontrol/info/memory_netbsd.cpp @@ -22,7 +22,7 @@ void KMemoryWidget::update() int mib[2]; size_t len; #ifdef UVM -#if __NetBSD_Version__ > 499000100 /* 4.99.2+ */ +#if __NetBSD_Version__ > 106000000 struct uvmexp_sysctl uvmexp; #else struct uvmexp uvmexp; @@ -53,7 +53,7 @@ void KMemoryWidget::update() #ifdef UVM mib[0] = CTL_VM; -#if __NetBSD_Version__ > 499000100 /* 4.99.2+ */ +#if __NetBSD_Version__ > 106000000 mib[1] = VM_UVMEXP2; #else mib[1] = VM_UVMEXP;