summaryrefslogtreecommitdiff
path: root/openbsd-compat/mktemp.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/mktemp.c')
-rw-r--r--openbsd-compat/mktemp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsd-compat/mktemp.c b/openbsd-compat/mktemp.c
index 88e04c520..53a50c512 100644
--- a/openbsd-compat/mktemp.c
+++ b/openbsd-compat/mktemp.c
@@ -35,6 +35,10 @@
35 35
36#include "includes.h" 36#include "includes.h"
37 37
38#include <sys/types.h>
39#include <sys/stat.h>
40#include <ctype.h>
41
38#if !defined(HAVE_MKDTEMP) || defined(HAVE_STRICT_MKSTEMP) 42#if !defined(HAVE_MKDTEMP) || defined(HAVE_STRICT_MKSTEMP)
39 43
40static int _gettemp(char *, int *, int, int); 44static int _gettemp(char *, int *, int, int);