summary refs log tree commit diff
path: root/dirent/tst-fdopendir.c
diff options
context:
space:
mode:
Diffstat (limited to 'dirent/tst-fdopendir.c')
-rw-r--r--dirent/tst-fdopendir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dirent/tst-fdopendir.c b/dirent/tst-fdopendir.c
index 0780c19916..89bdca9086 100644
--- a/dirent/tst-fdopendir.c
+++ b/dirent/tst-fdopendir.c
@@ -5,6 +5,7 @@
 #include <dirent.h>
 #include <stdbool.h>
 #include <string.h>
+#include <sys/stat.h>
 
 #ifndef O_NOATIME
 # define O_NOATIME	0