Преглед изворни кода

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)
 {