aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-09-28 18:20:20 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-09-28 18:20:20 +0000
commitfbff1f94909d66a96e1308afa3e7ef3d8f99669c (patch)
tree80312d731b5d271b32891813eb236cb07975c542 /include
parente2cfdefadbfd7789c6fa38cc053554a46f1e26ae (diff)
Merged revisions 289104 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r289104 | tilghman | 2010-09-28 13:18:43 -0500 (Tue, 28 Sep 2010) | 4 lines Solaris compatibility fixes Review: https://reviewboard.asterisk.org/r/942/ ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@289112 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/autoconfig.h.in3
-rw-r--r--include/asterisk/compat.h4
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