summaryrefslogtreecommitdiffstats
path: root/usr.bin/vmstat/vmstat.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1995-12-13 11:33:34 +0000
committerpeter <peter@FreeBSD.org>1995-12-13 11:33:34 +0000
commit160e301cbc2b8ddbe874d345cbf8849eec03708e (patch)
tree97d0f07fdb25aeedd2c9439081c02a2501a65e9c /usr.bin/vmstat/vmstat.c
parentd4b148b85550afa6948434816bc3863365ecb017 (diff)
downloadFreeBSD-src-160e301cbc2b8ddbe874d345cbf8849eec03708e.zip
FreeBSD-src-160e301cbc2b8ddbe874d345cbf8849eec03708e.tar.gz
add a #include <sys/vmmeter.h> since we are using the vmmeter structures
and this was once (but no longer it seems) included by <vm/vm.h> It should now compile again.
Diffstat (limited to 'usr.bin/vmstat/vmstat.c')
-rw-r--r--usr.bin/vmstat/vmstat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c
index 8776fc2..0c632a2 100644
--- a/usr.bin/vmstat/vmstat.c
+++ b/usr.bin/vmstat/vmstat.c
@@ -53,6 +53,7 @@ static char sccsid[] = "@(#)vmstat.c 8.1 (Berkeley) 6/6/93";
#include <sys/fcntl.h>
#include <sys/ioctl.h>
#include <sys/sysctl.h>
+#include <sys/vmmeter.h>
#include <vm/vm.h>
#include <time.h>
#include <nlist.h>
OpenPOWER on IntegriCloud