summaryrefslogtreecommitdiff
path: root/usr.bin/systat/vmstat.c
diff options
context:
space:
mode:
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>