File bison.patch of Package bison

--- a/lib/binary-io.h
+++ b/lib/binary-io.h
@@ -43,6 +43,8 @@ _GL_INLINE_HEADER_BEGIN
 #  define fileno _fileno
 # endif
 #else
+# define O_BINARY 0
+# define O_TEXT 0
   /* On reasonable systems, binary I/O is the only choice.  */
   /* Use a function rather than a macro, to avoid gcc warnings
      "warning: statement with no effect".  */
openSUSE Build Service is sponsored by