summaryrefslogtreecommitdiffstats
path: root/usr.bin/systat/vmstat.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-10-31 02:00:11 +0000
committerderaadt <deraadt@openbsd.org>2013-10-31 02:00:11 +0000
commit6f288e37594e811b41a47a3cd1d8d8fe3ea4ed8c (patch)
treec5b00b85cee2bf88f31f7027a59d6d6ab8289ff7 /usr.bin/systat/vmstat.c
parentpull in less .h to do the same (diff)
downloadwireguard-openbsd-6f288e37594e811b41a47a3cd1d8d8fe3ea4ed8c.tar.xz
wireguard-openbsd-6f288e37594e811b41a47a3cd1d8d8fe3ea4ed8c.zip
sometimes we find .h we no longer need
Diffstat (limited to 'usr.bin/systat/vmstat.c')
-rw-r--r--usr.bin/systat/vmstat.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c
index 13c13c7b809..80c57f81fe4 100644
--- a/usr.bin/systat/vmstat.c
+++ b/usr.bin/systat/vmstat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmstat.c,v 1.74 2013/05/14 20:39:25 miod Exp $ */
+/* $OpenBSD: vmstat.c,v 1.75 2013/10/31 02:00:11 deraadt Exp $ */
/* $NetBSD: vmstat.c,v 1.5 1996/05/10 23:16:40 thorpej Exp $ */
/*-
@@ -39,7 +39,7 @@
#include <sys/buf.h>
#include <sys/stat.h>
#include <sys/time.h>
-#include <sys/user.h>
+#include <sys/sysctl.h>
#include <sys/proc.h>
#include <sys/namei.h>
#include <sys/sysctl.h>
@@ -47,6 +47,7 @@
#include <uvm/uvm_extern.h>
#include <ctype.h>
+#include <errno.h>
#include <err.h>
#include <paths.h>
#include <signal.h>