diff options
Diffstat (limited to 'src/stdio/tempnam.c')
-rw-r--r-- | src/stdio/tempnam.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/stdio/tempnam.c b/src/stdio/tempnam.c index 5a559752..84f91978 100644 --- a/src/stdio/tempnam.c +++ b/src/stdio/tempnam.c @@ -4,12 +4,11 @@ #include <sys/stat.h> #include <limits.h> #include <string.h> +#include <stdlib.h> #include "syscall.h" #define MAXTRIES 100 -char *__randname(char *); - char *tempnam(const char *dir, const char *pfx) { char s[PATH_MAX]; |