浏览代码

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