aboutsummaryrefslogtreecommitdiff
path: root/bin/ps/ps.c
diff options
context:
space:
mode:
authorGarance A Drosehn <gad@FreeBSD.org>2004-03-29 01:27:13 +0000
committerGarance A Drosehn <gad@FreeBSD.org>2004-03-29 01:27:13 +0000
commitc7910c3ae36f64fba1536672af81e9277acc1ca5 (patch)
tree4145cd90bed0ca9378185d1e1852c29ef69a2f23 /bin/ps/ps.c
parentaa89d858c96479c931318bd9a8fb1c90c6c14eba (diff)
downloadsrc-c7910c3ae36f64fba1536672af81e9277acc1ca5.tar.gz
src-c7910c3ae36f64fba1536672af81e9277acc1ca5.zip
Have this source explicitly include <sys/proc.h>, since it references
values such as P_CONTROLT and PS_INMEM. But this still won't define PID_MAX for us, since that is hidden inside of '#ifdef _KERNEL'. Noticed by: bde
Notes
Notes: svn path=/head/; revision=127546
Diffstat (limited to 'bin/ps/ps.c')
-rw-r--r--bin/ps/ps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ps/ps.c b/bin/ps/ps.c
index cd9d29697b4b..16502402f20a 100644
--- a/bin/ps/ps.c
+++ b/bin/ps/ps.c
@@ -54,6 +54,7 @@ static char sccsid[] = "@(#)ps.c 8.4 (Berkeley) 4/2/94";
__FBSDID("$FreeBSD$");
#include <sys/param.h>
+#include <sys/proc.h>
#include <sys/user.h>
#include <sys/stat.h>
#include <sys/ioctl.h>