lineedit: do not hang on error, but return error indicator.
[oweals/busybox.git] / coreutils / fsync.c
index f00803c5bf7f8e583f4d761eafa84852c652090c..d1fe2b58453811a4d0d87183ef15e1a8300ef969 100644 (file)
@@ -4,9 +4,12 @@
  *
  * Copyright (C) 2008 Nokia Corporation. All rights reserved.
  *
- * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
+ * Licensed under GPLv2 or later, see file LICENSE in this source tree.
  */
 #include "libbb.h"
+#ifndef O_NOATIME
+# define O_NOATIME 0
+#endif
 
 /* This is a NOFORK applet. Be very careful! */