diff options
author | bde <bde@FreeBSD.org> | 1995-12-13 15:01:13 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-12-13 15:01:13 +0000 |
commit | 06e92e8fee2ad3a77db9fa95b40851b13b7fb3b1 (patch) | |
tree | c8f34f86c2f8bc2f87de716f33385960d488b604 /usr.bin/systat | |
parent | aa831b16e1fee8f36eb3fb5e2f75cea159062673 (diff) | |
download | FreeBSD-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.c | 5 |
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> |