about summary refs log tree commit diff
path: root/dirent
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-02-06 12:23:35 -0800
committerRoland McGrath <roland@hack.frob.com>2015-02-06 12:23:35 -0800
commit56606ab3b8d5b097b7c4f09b52b79a2217768ca4 (patch)
tree770c823af26558e0fbde04f1a03023e89ffa8c56 /dirent
parentebf7d6eedb1969b03187398fe730cc03bdd9aae3 (diff)
downloadglibc-56606ab3b8d5b097b7c4f09b52b79a2217768ca4.tar.gz
glibc-56606ab3b8d5b097b7c4f09b52b79a2217768ca4.tar.xz
glibc-56606ab3b8d5b097b7c4f09b52b79a2217768ca4.zip
Fix dirent/tst-fdopendir not to presume O_NOATIME exists.
Diffstat (limited to 'dirent')
-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 3cf315d85c..0780c19916 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)