]> git.sur5r.net Git - openldap/blobdiff - libraries/liblutil/tempnam.c
Remove DOS comment.
[openldap] / libraries / liblutil / tempnam.c
index 9aa21870b874f073dcf6b84067db9c69b4a17444..61d9435322eb3772794d6cf69b144829a6318da4 100644 (file)
@@ -1,10 +1,17 @@
 #include "portable.h"
 
-#ifndef HAVE_TEMPNAME
+#ifndef HAVE_TEMPNAM
 
+#include <stdio.h>
+
+#include <ac/stdlib.h>
 #include <ac/string.h>
+#include <ac/unistd.h>
+
+#include "lutil.h"
 
-char *tempnam( char *dir, char *pfx )
+char *
+(tempnam)( const char *dir, const char *pfx )
 {
     char       *s;
 
@@ -35,4 +42,4 @@ char *tempnam( char *dir, char *pfx )
     return( s );
 }
 
-#endif /* nextstep */
+#endif /* TEMPNAM */