fix missing declaration of strcpy in implementation of tmpnam
authorRich Felker <dalias@aerifal.cx>
Tue, 27 May 2014 18:21:46 +0000 (14:21 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 27 May 2014 18:21:46 +0000 (14:21 -0400)
src/stdio/tmpnam.c

index 92f699c25d359d71123c0b9da3f8a01850d69af7..c3f5a2fff47b100c3cf698f7bb839fb151f06200 100644 (file)
@@ -2,6 +2,7 @@
 #include <fcntl.h>
 #include <errno.h>
 #include <sys/stat.h>
+#include <string.h>
 #include "syscall.h"
 
 #define MAXTRIES 100