Explorar o código

fix missing declaration of strcpy in implementation of tmpnam

Rich Felker %!s(int64=11) %!d(string=hai) anos
pai
achega
d677d3fe83
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/stdio/tmpnam.c

+ 1 - 0
src/stdio/tmpnam.c

@@ -2,6 +2,7 @@
 #include <fcntl.h>
 #include <errno.h>
 #include <sys/stat.h>
+#include <string.h>
 #include "syscall.h"
 
 #define MAXTRIES 100