]> git.sur5r.net Git - openldap/blobdiff - libraries/liblutil/tempnam.c
fix flag on formatMessage to not allocate buffer
[openldap] / libraries / liblutil / tempnam.c
index d4aa9cc2390a3bdea8c31960b1451d591c29e108..61d9435322eb3772794d6cf69b144829a6318da4 100644 (file)
@@ -3,14 +3,15 @@
 #ifndef HAVE_TEMPNAM
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 #include <ac/string.h>
 #include <ac/unistd.h>
 
 #include "lutil.h"
 
 char *
-tempnam( const char *dir, const char *pfx )
+(tempnam)( const char *dir, const char *pfx )
 {
     char       *s;