must include cpu.h for tahoe keystat structure
authorSam Leffler <sam@ucbvax.Berkeley.EDU>
Sun, 16 Nov 1986 03:27:08 +0000 (19:27 -0800)
committerSam Leffler <sam@ucbvax.Berkeley.EDU>
Sun, 16 Nov 1986 03:27:08 +0000 (19:27 -0800)
SCCS-vsn: usr.bin/vmstat/vmstat.c 5.7

usr/src/usr.bin/vmstat/vmstat.c

index 99a6f4c..b7000c4 100644 (file)
@@ -11,7 +11,7 @@ char copyright[] =
 #endif not lint
 
 #ifndef lint
 #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 <stdio.h>
 #endif not lint
 
 #include <stdio.h>
@@ -370,6 +370,10 @@ dotimes()
        printf("average: %8.1f msec / page in\n", s.pgintime/(sum.v_pgin*10.0));
 }
 
        printf("average: %8.1f msec / page in\n", s.pgintime/(sum.v_pgin*10.0));
 }
 
+#if defined(tahoe)
+#include <tahoe/cpu.h>
+#endif
+
 dosum()
 {
        struct nchstats nchstats;
 dosum()
 {
        struct nchstats nchstats;