Quellcode durchsuchen

fix missing declaration of strcpy in implementation of tmpnam

Rich Felker vor 11 Jahren
Ursprung
Commit
d677d3fe83
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  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