summaryrefslogtreecommitdiffstats
path: root/libutil/flopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'libutil/flopen.c')
-rw-r--r--libutil/flopen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libutil/flopen.c b/libutil/flopen.c
index 1eb59a0..687ebac 100644
--- a/libutil/flopen.c
+++ b/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, ...)