summaryrefslogtreecommitdiff
path: root/openbsd-compat/mktemp.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/mktemp.h')
-rw-r--r--openbsd-compat/mktemp.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/openbsd-compat/mktemp.h b/openbsd-compat/mktemp.h
new file mode 100644
index 000000000..faddc916e
--- /dev/null
+++ b/openbsd-compat/mktemp.h
@@ -0,0 +1,11 @@
1#ifndef _BSD_MKTEMP_H
2#define _BSD_MKTEMP_H
3
4#include "config.h"
5#ifndef HAVE_MKDTEMP
6int mkstemps(char *path, int slen);
7int mkstemp(char *path);
8char *mkdtemp(char *path);
9#endif /* !HAVE_MKDTEMP */
10
11#endif /* _BSD_MKTEMP_H */