summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/stat/stat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/stat/stat.c b/test/stat/stat.c
index c1ce4b8b3..c9e063f27 100644
--- a/test/stat/stat.c
+++ b/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)
{