#include "portable.h"
-#ifndef HAVE_TEMPNAME
+#ifndef HAVE_TEMPNAM
+#include <stdio.h>
+#include <stdlib.h>
#include <ac/string.h>
+#include <ac/unistd.h>
-char *tempnam( char *dir, char *pfx )
+#include "lutil.h"
+
+char *
+(tempnam)( const char *dir, const char *pfx )
{
char *s;
return( s );
}
-#endif /* nextstep */
+#endif /* TEMPNAM */