diff options
author | bde <bde@FreeBSD.org> | 2004-04-14 09:01:56 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2004-04-14 09:01:56 +0000 |
commit | 253d68a52ad8522745b927b6c947091bdb4020c8 (patch) | |
tree | c634437db4b8ac3e56885f1191fb65624f4f394e /usr.bin/systat | |
parent | 9765d24df650a8593a1d8dbd170e1f17b4bcb60f (diff) | |
download | FreeBSD-src-253d68a52ad8522745b927b6c947091bdb4020c8.zip FreeBSD-src-253d68a52ad8522745b927b6c947091bdb4020c8.tar.gz |
Include <sys/proc.h> for the definition of PS_INMEM instead of
depending on namespace pollution in <sys/user.h>.
Reduced nearby include messes.
Diffstat (limited to 'usr.bin/systat')
-rw-r--r-- | usr.bin/systat/pigs.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/systat/pigs.c b/usr.bin/systat/pigs.c index a10e734..4b504ed 100644 --- a/usr.bin/systat/pigs.c +++ b/usr.bin/systat/pigs.c @@ -45,18 +45,17 @@ __FBSDID("$FreeBSD$"); */ #include <sys/param.h> +#include <sys/proc.h> +#include <sys/sysctl.h> #include <sys/time.h> #include <sys/user.h> -#include <sys/sysctl.h> #include <curses.h> #include <math.h> -#include <nlist.h> #include <pwd.h> #include <stdlib.h> #include "extern.h" -#include "systat.h" int compar(const void *, const void *); |