summaryrefslogtreecommitdiff
path: root/coreutils/fsync.c
diff options
context:
space:
mode:
authorDenys Vlasenko2010-02-09 00:26:10 +0100
committerDenys Vlasenko2010-02-09 00:26:10 +0100
commit10544a841002a9b4075ee267effcd330a0c705ca (patch)
tree25ce126699236b65c40112b4ce920e79e84f0f32 /coreutils/fsync.c
parentfb6e689554a03dd3c22783a641880ee4c2bed8e7 (diff)
downloadbusybox-10544a841002a9b4075ee267effcd330a0c705ca.zip
busybox-10544a841002a9b4075ee267effcd330a0c705ca.tar.gz
compat and warning fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/fsync.c')
-rw-r--r--coreutils/fsync.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/coreutils/fsync.c b/coreutils/fsync.c
index f00803c..53900f8 100644
--- a/coreutils/fsync.c
+++ b/coreutils/fsync.c
@@ -7,6 +7,9 @@
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
#include "libbb.h"
+#ifndef O_NOATIME
+# define O_NOATIME 0
+#endif
/* This is a NOFORK applet. Be very careful! */