diff options
author | bde <bde@FreeBSD.org> | 1996-09-29 19:25:10 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-09-29 19:25:10 +0000 |
commit | 3d1181fd338e3fbe84c2c4723620b040adb01bb8 (patch) | |
tree | a01b567cafc27b9d11874941377cbd58cd74e0f6 | |
parent | b8b5ca939052979e0f92b12099b41b4d9e230ff1 (diff) | |
download | FreeBSD-src-3d1181fd338e3fbe84c2c4723620b040adb01bb8.zip FreeBSD-src-3d1181fd338e3fbe84c2c4723620b040adb01bb8.tar.gz |
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.
-rw-r--r-- | usr.bin/fstat/fstat.c | 1 | ||||
-rw-r--r-- | usr.sbin/pstat/pstat.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/fstat/fstat.c b/usr.bin/fstat/fstat.c index fe4b7d0..fbfaacb 100644 --- a/usr.bin/fstat/fstat.c +++ b/usr.bin/fstat/fstat.c @@ -77,6 +77,7 @@ static char sccsid[] = "@(#)fstat.c 8.1 (Berkeley) 6/6/93"; #include <ctype.h> #include <errno.h> +#include <fcntl.h> #include <kvm.h> #include <nlist.h> #include <paths.h> diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c index 773bfa1..7edf8b7 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> |