diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/autoconfig.h.in | 3 | ||||
-rw-r--r-- | include/asterisk/compat.h | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/asterisk/autoconfig.h.in b/include/asterisk/autoconfig.h.in index b438f4225..cfc9f4190 100644 --- a/include/asterisk/autoconfig.h.in +++ b/include/asterisk/autoconfig.h.in @@ -440,6 +440,9 @@ /* Define to 1 if you have the `mkdir' function. */ #undef HAVE_MKDIR +/* Define to 1 if you have the `mkdtemp' function. */ +#undef HAVE_MKDTEMP + /* Define to 1 if you have a working `mmap' system call. */ #undef HAVE_MMAP diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h index 78c267105..62e456b6f 100644 --- a/include/asterisk/compat.h +++ b/include/asterisk/compat.h @@ -97,6 +97,10 @@ int getloadavg(double *list, int nelem); uint64_t htonll(uint64_t host64); #endif +#ifndef HAVE_MKDTEMP +char *mkdtemp(char *template_s); +#endif + #ifndef HAVE_NTOHLL uint64_t ntohll(uint64_t net64); #endif |