summaryrefslogtreecommitdiffstats
path: root/bsd-mktemp.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsd-mktemp.h')
-rw-r--r--bsd-mktemp.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/bsd-mktemp.h b/bsd-mktemp.h
new file mode 100644
index 00000000..faddc916
--- /dev/null
+++ b/bsd-mktemp.h
@@ -0,0 +1,11 @@
+#ifndef _BSD_MKTEMP_H
+#define _BSD_MKTEMP_H
+
+#include "config.h"
+#ifndef HAVE_MKDTEMP
+int mkstemps(char *path, int slen);
+int mkstemp(char *path);
+char *mkdtemp(char *path);
+#endif /* !HAVE_MKDTEMP */
+
+#endif /* _BSD_MKTEMP_H */