summaryrefslogtreecommitdiffstats
path: root/lib/libutil/flopen.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2007-05-10 15:01:42 +0000
committerdes <des@FreeBSD.org>2007-05-10 15:01:42 +0000
commitced6c23397bb86d97c036e35c740110c6cab4599 (patch)
tree0ca3fc7e7875da4c950553d2d1b76e423b737078 /lib/libutil/flopen.c
parent2c5ccfbba9d7f05e031a18b0c3acab9c103d2f77 (diff)
downloadFreeBSD-src-ced6c23397bb86d97c036e35c740110c6cab4599.zip
FreeBSD-src-ced6c23397bb86d97c036e35c740110c6cab4599.tar.gz
Well gag me with a spoon... I'm so used to working at high WARNS levels
that I make stupid fundamental mistakes like this when I don't.
Diffstat (limited to 'lib/libutil/flopen.c')
-rw-r--r--lib/libutil/flopen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libutil/flopen.c b/lib/libutil/flopen.c
index 1eb59a0..687ebac 100644
--- a/lib/libutil/flopen.c
+++ b/lib/libutil/flopen.c
@@ -28,11 +28,15 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include <sys/file.h>
#include <sys/stat.h>
#include <errno.h>
#include <fcntl.h>
#include <stdarg.h>
+#include <unistd.h>
+
+#include <libutil.h>
int
flopen(const char *path, int flags, ...)
OpenPOWER on IntegriCloud