aboutsummaryrefslogtreecommitdiff
path: root/dirent/tst-fdopendir.c
diff options
context:
space:
mode:
Diffstat (limited to 'dirent/tst-fdopendir.c')
-rw-r--r--dirent/tst-fdopendir.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/dirent/tst-fdopendir.c b/dirent/tst-fdopendir.c
index 3cf315d..0780c19 100644
--- a/dirent/tst-fdopendir.c
+++ b/dirent/tst-fdopendir.c
@@ -6,6 +6,9 @@
#include <stdbool.h>
#include <string.h>
+#ifndef O_NOATIME
+# define O_NOATIME 0
+#endif
static int
do_test (void)