summaryrefslogtreecommitdiff
path: root/usr.bin/systat/vmstat.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2014-04-08 14:04:12 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2014-04-08 14:04:12 +0000
commitfec56ff05f7fef85e0b97dd7138a915437827cf4 (patch)
tree8753f7814dd5803f49ac80d42ad3c7fcf8fbceca /usr.bin/systat/vmstat.c
parent24074aa936a9adf215a17c2f71226991f566f692 (diff)
Use VM_UVMEXP instead of VM_METER for memory usages and directly
include <sys/vmmeter.h> where it is needed instead of relying on it being included by <uvm/uvm_extern.h>. miod@ likes it, ok guenther@
Diffstat (limited to 'usr.bin/systat/vmstat.c')
-rw-r--r--usr.bin/systat/vmstat.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c
index 80c57f81fe4..ddb97741684 100644
--- a/usr.bin/systat/vmstat.c
+++ b/usr.bin/systat/vmstat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmstat.c,v 1.75 2013/10/31 02:00:11 deraadt Exp $ */
+/* $OpenBSD: vmstat.c,v 1.76 2014/04/08 14:04:11 mpi Exp $ */
/* $NetBSD: vmstat.c,v 1.5 1996/05/10 23:16:40 thorpej Exp $ */
/*-
@@ -43,8 +43,7 @@
#include <sys/proc.h>
#include <sys/namei.h>
#include <sys/sysctl.h>
-
-#include <uvm/uvm_extern.h>
+#include <sys/vmmeter.h>
#include <ctype.h>
#include <errno.h>