From 70b78b6eeea9adb9866a4dcf7eddb035781191af Mon Sep 17 00:00:00 2001 From: Sam Leffler Date: Sat, 15 Nov 1986 19:27:08 -0800 Subject: [PATCH] must include cpu.h for tahoe keystat structure SCCS-vsn: usr.bin/vmstat/vmstat.c 5.7 --- usr/src/usr.bin/vmstat/vmstat.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/usr/src/usr.bin/vmstat/vmstat.c b/usr/src/usr.bin/vmstat/vmstat.c index 99a6f4c4ec..b7000c43b8 100644 --- a/usr/src/usr.bin/vmstat/vmstat.c +++ b/usr/src/usr.bin/vmstat/vmstat.c @@ -11,7 +11,7 @@ char copyright[] = #endif not lint #ifndef lint -static char sccsid[] = "@(#)vmstat.c 5.6 (Berkeley) %G%"; +static char sccsid[] = "@(#)vmstat.c 5.7 (Berkeley) %G%"; #endif not lint #include @@ -370,6 +370,10 @@ dotimes() printf("average: %8.1f msec / page in\n", s.pgintime/(sum.v_pgin*10.0)); } +#if defined(tahoe) +#include +#endif + dosum() { struct nchstats nchstats; -- 2.20.1