diff options
Diffstat (limited to 'src/shared/util.h')
-rw-r--r-- | src/shared/util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h index bce4f0fa77..3f3d879a13 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -451,8 +451,11 @@ static inline void qsort_safe(void *base, size_t nmemb, size_t size, int proc_cmdline(char **ret); int getpeercred(int fd, struct ucred *ucred); +#if HAVE_DECL_MKOSTEMP int mkostemp_safe(char *pattern, int flags); +#else int mkstemp_safe(char *pattern); +#endif union file_handle_union { struct file_handle handle; |