summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorgad <gad@FreeBSD.org>2004-03-29 01:27:13 +0000
committergad <gad@FreeBSD.org>2004-03-29 01:27:13 +0000
commit14c427e33ee6d1e49c94c5d478d2c75a91de1842 (patch)
tree4145cd90bed0ca9378185d1e1852c29ef69a2f23 /bin
parent356f4db5a0cb9e06e8fc415122998058785208b4 (diff)
downloadFreeBSD-src-14c427e33ee6d1e49c94c5d478d2c75a91de1842.zip
FreeBSD-src-14c427e33ee6d1e49c94c5d478d2c75a91de1842.tar.gz
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
Diffstat (limited to 'bin')
-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 cd9d296..1650240 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>
OpenPOWER on IntegriCloud