#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;
return( s );
}
-#endif /* nextstep */
+#endif /* TEMPNAM */