소스 검색

fix missing declaration of strcpy in implementation of tmpnam

Rich Felker 11 년 전
부모
커밋
d677d3fe83
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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