summaryrefslogtreecommitdiffstats
path: root/usr.bin/systat
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-12-13 15:01:13 +0000
committerbde <bde@FreeBSD.org>1995-12-13 15:01:13 +0000
commit06e92e8fee2ad3a77db9fa95b40851b13b7fb3b1 (patch)
treec8f34f86c2f8bc2f87de716f33385960d488b604 /usr.bin/systat
parentaa831b16e1fee8f36eb3fb5e2f75cea159062673 (diff)
downloadFreeBSD-src-06e92e8fee2ad3a77db9fa95b40851b13b7fb3b1.zip
FreeBSD-src-06e92e8fee2ad3a77db9fa95b40851b13b7fb3b1.tar.gz
Reduced vm dependencies. Only `struct vmmeter.h' is required.
Unfortunately, the sysctl number for reading this struct is bogusly placed in <vm/vm_param.h> instead of with the declaration of the struct.
Diffstat (limited to 'usr.bin/systat')
-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 8432e15..29ffae6 100644
--- a/usr.bin/systat/vmstat.c
+++ b/usr.bin/systat/vmstat.c
@@ -44,12 +44,13 @@ static char sccsid[] = "@(#)vmstat.c 8.2 (Berkeley) 1/12/94";
#include <sys/buf.h>
#include <sys/stat.h>
#include <sys/time.h>
-#include <sys/user.h>
#include <sys/proc.h>
+#include <sys/uio.h>
#include <sys/namei.h>
#include <sys/sysctl.h>
#include <sys/vmmeter.h>
-#include <vm/vm.h>
+
+#include <vm/vm_param.h>
#include <signal.h>
#include <nlist.h>
OpenPOWER on IntegriCloud