diff options
author | Bruce Evans <bde@FreeBSD.org> | 1996-09-29 19:25:10 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1996-09-29 19:25:10 +0000 |
commit | 5d98ce759828cac94048d4deded6a99fc289e01b (patch) | |
tree | a01b567cafc27b9d11874941377cbd58cd74e0f6 /usr.sbin/pstat/pstat.c | |
parent | 3b72a1cdd40c6ca60bb1664a27140362284ea9d7 (diff) | |
download | src-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.c | 1 |
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> |