summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pstat
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2004-11-27 06:51:39 +0000
committerdas <das@FreeBSD.org>2004-11-27 06:51:39 +0000
commit130bed654798f5974ea1b814996c1b960dc03919 (patch)
treeee0da1ed6777c64e0cd28bc317983024127c0118 /usr.sbin/pstat
parent0b21c939c0a54cb34f0810d1353e74009ad7176a (diff)
downloadFreeBSD-src-130bed654798f5974ea1b814996c1b960dc03919.zip
FreeBSD-src-130bed654798f5974ea1b814996c1b960dc03919.tar.gz
Don't include sys/user.h merely for its side-effect of recursively
including other headers.
Diffstat (limited to 'usr.sbin/pstat')
-rw-r--r--usr.sbin/pstat/pstat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c
index 0d25894..9e22a3a 100644
--- a/usr.sbin/pstat/pstat.c
+++ b/usr.sbin/pstat/pstat.c
@@ -58,10 +58,11 @@ __FBSDID("$FreeBSD$");
#include <sys/tty.h>
#include <sys/blist.h>
-#include <sys/user.h>
#include <sys/sysctl.h>
+#include <vm/vm_param.h>
#include <err.h>
+#include <errno.h>
#include <fcntl.h>
#include <kvm.h>
#include <limits.h>
OpenPOWER on IntegriCloud