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.
This commit is contained in:
parent
282f3bfbc1
commit
5bf65cf9c2
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user