summaryrefslogtreecommitdiff
path: root/usr.sbin/pstat
diff options
context:
space:
mode:
authorhe <he@NetBSD.org>2007-03-04 17:57:20 +0000
committerhe <he@NetBSD.org>2007-03-04 17:57:20 +0000
commit5bf65cf9c2ca1c13e6754631c4cd7849d2468c8d (patch)
tree0861de3c2dfd522d34ab71964915b3f5dfbea9df /usr.sbin/pstat
parent282f3bfbc10eaeb0fc599e0aceccdbb05c0b5c6e (diff)
Because this program has _KERNEL defined while including some files,
it now needs <stdbool.h> due to the arm ports. Longer-term, this program probably ought to be converted so that it no longer needs to define _KERNEL.
Diffstat (limited to 'usr.sbin/pstat')
-rw-r--r--usr.sbin/pstat/pstat.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c
index a56f4b6e0ae..0d759fab3ae 100644
--- a/usr.sbin/pstat/pstat.c
+++ b/usr.sbin/pstat/pstat.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pstat.c,v 1.98 2007/01/06 23:06:18 daniel Exp $ */
+/* $NetBSD: pstat.c,v 1.99 2007/03/04 17:57:20 he Exp $ */
/*-
* Copyright (c) 1980, 1991, 1993, 1994
@@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1991, 1993, 1994\n\
#if 0
static char sccsid[] = "@(#)pstat.c 8.16 (Berkeley) 5/9/95";
#else
-__RCSID("$NetBSD: pstat.c,v 1.98 2007/01/06 23:06:18 daniel Exp $");
+__RCSID("$NetBSD: pstat.c,v 1.99 2007/03/04 17:57:20 he Exp $");
#endif
#endif /* not lint */
@@ -47,6 +47,7 @@ __RCSID("$NetBSD: pstat.c,v 1.98 2007/01/06 23:06:18 daniel Exp $");
#include <sys/time.h>
#include <sys/vnode.h>
#include <sys/ucred.h>
+#include <stdbool.h>
#define _KERNEL
#include <sys/file.h>
#include <ufs/ufs/inode.h>