$NetBSD: patch-ap,v 1.1 2000/07/30 02:45:41 jlam Exp $ --- sysdeps/freebsd/mem.c.orig Sun Feb 13 10:47:58 2000 +++ sysdeps/freebsd/mem.c Sat Jul 29 22:32:44 2000 @@ -29,7 +29,9 @@ #include #include +#if defined(__NetBSD__) && (__NetBSD_Version__ < 105020000) #include +#endif #if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000) #include @@ -74,7 +76,6 @@ }; /* MIB array for sysctl */ -static int mib_length=2; #ifdef __bsdi__ static int mib [] = { CTL_VM, VM_TOTAL }; #else