diff options
Diffstat (limited to 'openbsd-compat/mktemp.c')
-rw-r--r-- | openbsd-compat/mktemp.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/openbsd-compat/mktemp.c b/openbsd-compat/mktemp.c index 88e04c520..2285c84df 100644 --- a/openbsd-compat/mktemp.c +++ b/openbsd-compat/mktemp.c | |||
@@ -35,6 +35,14 @@ | |||
35 | 35 | ||
36 | #include "includes.h" | 36 | #include "includes.h" |
37 | 37 | ||
38 | #include <sys/types.h> | ||
39 | #include <sys/stat.h> | ||
40 | |||
41 | #include <fcntl.h> | ||
42 | #include <ctype.h> | ||
43 | #include <errno.h> | ||
44 | #include <unistd.h> | ||
45 | |||
38 | #if !defined(HAVE_MKDTEMP) || defined(HAVE_STRICT_MKSTEMP) | 46 | #if !defined(HAVE_MKDTEMP) || defined(HAVE_STRICT_MKSTEMP) |
39 | 47 | ||
40 | static int _gettemp(char *, int *, int, int); | 48 | static int _gettemp(char *, int *, int, int); |