diff options
Diffstat (limited to 'openbsd-compat/mktemp.h')
-rw-r--r-- | openbsd-compat/mktemp.h | 11 |
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 | ||
6 | int mkstemps(char *path, int slen); | ||
7 | int mkstemp(char *path); | ||
8 | char *mkdtemp(char *path); | ||
9 | #endif /* !HAVE_MKDTEMP */ | ||
10 | |||
11 | #endif /* _BSD_MKTEMP_H */ | ||