aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/systat/pigs.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2004-04-14 09:01:56 +0000
committerBruce Evans <bde@FreeBSD.org>2004-04-14 09:01:56 +0000
commita1541efa63755d3e1abe05d7f34a32bda5fea094 (patch)
treec634437db4b8ac3e56885f1191fb65624f4f394e /usr.bin/systat/pigs.c
parent2b94c69d1d065725a44b6a03f733b30a796d76e3 (diff)
downloadsrc-a1541efa63755d3e1abe05d7f34a32bda5fea094.tar.gz
src-a1541efa63755d3e1abe05d7f34a32bda5fea094.zip
Include <sys/proc.h> for the definition of PS_INMEM instead of
depending on namespace pollution in <sys/user.h>. Reduced nearby include messes.
Notes
Notes: svn path=/head/; revision=128230
Diffstat (limited to 'usr.bin/systat/pigs.c')
-rw-r--r--usr.bin/systat/pigs.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/systat/pigs.c b/usr.bin/systat/pigs.c
index a10e734514f6..4b504ed8a993 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 *);