From ff2041c955e9152bd286ab6ea534b8445caab574 Mon Sep 17 00:00:00 2001 From: James Peach Date: Tue, 27 Jun 2006 05:49:09 +0000 Subject: 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) --- source4/lib/replace/replace.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/lib/replace/replace.h') 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 #endif -- cgit