The magic-Linux-syscall branch of the #if in this module is only
[sgt/agedu] / du.c
diff --git a/du.c b/du.c
index e49b0d3..8028432 100644 (file)
--- a/du.c
+++ b/du.c
@@ -6,7 +6,7 @@
 #include "du.h"
 #include "alloc.h"
 
-#if !defined __linux__ || defined HAVE_FDOPENDIR
+#if !defined __linux__ || !defined O_NOATIME || defined HAVE_FDOPENDIR
 
 #ifdef HAVE_DIRENT_H
 #  include <dirent.h>