summaryrefslogtreecommitdiffstats
path: root/usr.bin/fstat
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-09-29 19:25:10 +0000
committerbde <bde@FreeBSD.org>1996-09-29 19:25:10 +0000
commit3d1181fd338e3fbe84c2c4723620b040adb01bb8 (patch)
treea01b567cafc27b9d11874941377cbd58cd74e0f6 /usr.bin/fstat
parentb8b5ca939052979e0f92b12099b41b4d9e230ff1 (diff)
downloadFreeBSD-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.
Diffstat (limited to 'usr.bin/fstat')
-rw-r--r--usr.bin/fstat/fstat.c1
1 files changed, 1 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>
OpenPOWER on IntegriCloud