ecd4dcaec5
This is version 1.0.13nb4.
22 lines
573 B
Text
22 lines
573 B
Text
$NetBSD: patch-ap,v 1.1.1.1 2004/04/02 12:10:18 jmmv 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 <sys/sysctl.h>
|
|
#include <sys/vmmeter.h>
|
|
+#if defined(__NetBSD__) && (__NetBSD_Version__ < 105020000)
|
|
#include <vm/vm_param.h>
|
|
+#endif
|
|
|
|
#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000)
|
|
#include <uvm/uvm_extern.h>
|
|
@@ -74,7 +76,6 @@
|
|
};
|
|
|
|
/* MIB array for sysctl */
|
|
-static int mib_length=2;
|
|
#ifdef __bsdi__
|
|
static int mib [] = { CTL_VM, VM_TOTAL };
|
|
#else
|