Fix dirent/tst-fdopendir not to presume O_NOATIME exists.
authorRoland McGrath <roland@hack.frob.com>
Fri, 6 Feb 2015 20:23:35 +0000 (12:23 -0800)
committerRoland McGrath <roland@hack.frob.com>
Fri, 6 Feb 2015 20:23:35 +0000 (12:23 -0800)
ChangeLog
dirent/tst-fdopendir.c

index 4ca6759..28bc618 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2015-02-06  Roland McGrath  <roland@hack.frob.com>
 
+       * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
+
        * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
 
        * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
index 3cf315d..0780c19 100644 (file)
@@ -6,6 +6,9 @@
 #include <stdbool.h>
 #include <string.h>
 
+#ifndef O_NOATIME
+# define O_NOATIME     0
+#endif
 
 static int
 do_test (void)