From 06e92e8fee2ad3a77db9fa95b40851b13b7fb3b1 Mon Sep 17 00:00:00 2001 From: bde Date: Wed, 13 Dec 1995 15:01:13 +0000 Subject: [PATCH] Reduced vm dependencies. Only `struct vmmeter.h' is required. Unfortunately, the sysctl number for reading this struct is bogusly placed in instead of with the declaration of the struct. --- usr.bin/systat/vmstat.c | 5 +++-- usr.bin/vmstat/vmstat.c | 6 ++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c index 8432e155d842..29ffae64f906 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 #include #include -#include #include +#include #include #include #include -#include + +#include #include #include diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c index 0c632a2fb642..beaef227b53d 100644 --- a/usr.bin/vmstat/vmstat.c +++ b/usr.bin/vmstat/vmstat.c @@ -44,9 +44,9 @@ static char sccsid[] = "@(#)vmstat.c 8.1 (Berkeley) 6/6/93"; #include #include #include -#include #include #include +#include #include #include #include @@ -54,7 +54,9 @@ static char sccsid[] = "@(#)vmstat.c 8.1 (Berkeley) 6/6/93"; #include #include #include -#include + +#include + #include #include #include