aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pstat/pstat.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1996-09-29 19:25:10 +0000
committerBruce Evans <bde@FreeBSD.org>1996-09-29 19:25:10 +0000
commit5d98ce759828cac94048d4deded6a99fc289e01b (patch)
treea01b567cafc27b9d11874941377cbd58cd74e0f6 /usr.sbin/pstat/pstat.c
parent3b72a1cdd40c6ca60bb1664a27140362284ea9d7 (diff)
downloadsrc-5d98ce759828cac94048d4deded6a99fc289e01b.tar.gz
src-5d98ce759828cac94048d4deded6a99fc289e01b.zip
Include <fcntl.h> so that this doesn't depend on the KERNEL version
of <sys/file.h> including <sys/fcntl.h>. Only the !KERNEL version of <sys/file.h> will do that when I unspam the kernel headers.
Notes
Notes: svn path=/head/; revision=18570
Diffstat (limited to 'usr.sbin/pstat/pstat.c')
-rw-r--r--usr.sbin/pstat/pstat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c
index 773bfa186a90..7edf8b732dad 100644
--- a/usr.sbin/pstat/pstat.c
+++ b/usr.sbin/pstat/pstat.c
@@ -67,6 +67,7 @@ static char sccsid[] = "@(#)pstat.c 8.9 (Berkeley) 2/16/94";
#include <sys/sysctl.h>
#include <err.h>
+#include <fcntl.h>
#include <kvm.h>
#include <limits.h>
#include <nlist.h>