aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--dirent/tst-fdopendir.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4ca6759..28bc618 100644
--- 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>.
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)