diff --git a/lib/roken/roken.h b/lib/roken/roken.h index d7a501247..12b58879c 100644 --- a/lib/roken/roken.h +++ b/lib/roken/roken.h @@ -203,6 +203,10 @@ int setegid(int egid); int lstat(const char *path, struct stat *buf); #endif +#ifndef HAVE_MKSTEMP +int mkstemp(char *); +#endif + #ifndef HAVE_INITGROUPS int initgroups(const char *name, gid_t basegid); #endif diff --git a/lib/roken/roken.h.in b/lib/roken/roken.h.in index d7a501247..12b58879c 100644 --- a/lib/roken/roken.h.in +++ b/lib/roken/roken.h.in @@ -203,6 +203,10 @@ int setegid(int egid); int lstat(const char *path, struct stat *buf); #endif +#ifndef HAVE_MKSTEMP +int mkstemp(char *); +#endif + #ifndef HAVE_INITGROUPS int initgroups(const char *name, gid_t basegid); #endif