diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2007-05-10 15:01:42 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2007-05-10 15:01:42 +0000 |
| commit | 7750efa40b8dcef319473176ea0fd3c8afb7d765 (patch) | |
| tree | 17a8c20a44e12f16d114fcb24693f92afd4a8ea9 /libutil/flopen.c | |
| parent | 359769889d017e0d5ac6423fe9b719998c2d5d66 (diff) | |
| download | pw-darwin-7750efa40b8dcef319473176ea0fd3c8afb7d765.tar.gz pw-darwin-7750efa40b8dcef319473176ea0fd3c8afb7d765.zip | |
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 'libutil/flopen.c')
| -rw-r--r-- | libutil/flopen.c | 4 |
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, ...) |
