about summary refs log tree commit diff homepage
path: root/test/Runtime/POSIX/Stdin.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Runtime/POSIX/Stdin.c')
-rw-r--r--test/Runtime/POSIX/Stdin.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/Runtime/POSIX/Stdin.c b/test/Runtime/POSIX/Stdin.c
index 6d84baff..84caab3a 100644
--- a/test/Runtime/POSIX/Stdin.c
+++ b/test/Runtime/POSIX/Stdin.c
@@ -9,11 +9,12 @@
 // RUN: grep "mode:lnk" %t.log
 // RUN: grep "read:sym:yes" %t.log
 // RUN: grep "read:sym:no" %t.log
-
-#include <stdio.h>
+#include <assert.h>
 #include <fcntl.h>
+#include <stdio.h>
+#include <string.h>
 #include <sys/stat.h>
-#include <assert.h>
+#include <unistd.h>
 
 int main(int argc, char **argv) {
   struct stat stats;