diff options
author | James Peach <jpeach@samba.org> | 2006-06-27 05:49:09 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:09:34 -0500 |
commit | ff2041c955e9152bd286ab6ea534b8445caab574 (patch) | |
tree | 7169ccd956bdae0d8965761b772aaba7b78f7524 /source4/lib/replace/replace.h | |
parent | 1db2f0d3a19913a460bec9eb516b4d96e9a3e595 (diff) | |
download | samba-ff2041c955e9152bd286ab6ea534b8445caab574.tar.gz samba-ff2041c955e9152bd286ab6ea534b8445caab574.tar.bz2 samba-ff2041c955e9152bd286ab6ea534b8445caab574.zip |
r16556: Add mkdtemp to libreplace. This is apparantly available on Linux
and BSD systems, but it's not everywhere.
(This used to be commit b3d2512ed4fc8c378607bcc2dc241a1f77ab7197)
Diffstat (limited to 'source4/lib/replace/replace.h')
-rw-r--r-- | source4/lib/replace/replace.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h index 8beb43bfa4..e59ba43206 100644 --- a/source4/lib/replace/replace.h +++ b/source4/lib/replace/replace.h @@ -173,6 +173,10 @@ typedef int (*comparison_fn_t)(const void *, const void *); int rep_mkstemp(char *temp); #endif +#ifndef HAVE_MKDTEMP +char *mkdtemp(char *template); +#endif + #ifdef HAVE_LIMITS_H #include <limits.h> #endif |