소스 검색

need unistd/string header files

Mike Frysinger 19 년 전
부모
커밋
1ff4b6bb11
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      test/stat/stat.c

+ 3 - 0
test/stat/stat.c

@@ -1,6 +1,9 @@
 #include <stdio.h>
+#include <string.h>
 #include <fcntl.h>
 #include <sys/stat.h>
+#include <unistd.h>
+#include <stdlib.h>
 
 void print_struct_stat(char *msg, struct stat *s)
 {