I forgot to attach the patch, not it should be OK

This commit is contained in:
Pavel Raiskup 2012-11-02 12:35:58 +01:00
parent a9280177bf
commit b172f5b0c1

View File

@ -0,0 +1,15 @@
diff --git a/gnu/fcntl.in.h b/gnu/fcntl.in.h
index 95298de..a9a8ddd 100644
--- a/gnu/fcntl.in.h
+++ b/gnu/fcntl.in.h
@@ -216,6 +216,10 @@ _GL_WARN_ON_USE (openat, "openat is not portable - "
# define O_SYNC 0
#endif
+#ifndef __O_SYNC
+# define __O_SYNC 04000000
+#endif
+
#ifndef O_TTY_INIT
# define O_TTY_INIT 0
#endif