blob: 20c8d81ab091e5a778a1456d50feeb7d36e3afbb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$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 <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
|