about summary refs log tree commit diff
path: root/dirent/opendir-tst1.c
diff options
context:
space:
mode:
Diffstat (limited to 'dirent/opendir-tst1.c')
-rw-r--r--dirent/opendir-tst1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dirent/opendir-tst1.c b/dirent/opendir-tst1.c
index c05ec48ffc..6171d617aa 100644
--- a/dirent/opendir-tst1.c
+++ b/dirent/opendir-tst1.c
@@ -23,6 +23,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#include <sys/stat.h>
 
 /* Name of the FIFO.  */
 char tmpname[] = "fifoXXXXXX";