stdioext: Fix last commit.
authorBruno Haible <bruno@clisp.org>
Sat, 4 Feb 2012 11:56:33 +0000 (12:56 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 4 Feb 2012 11:56:33 +0000 (12:56 +0100)
* lib/fwritable.c [EPLAN9]: Include <fcntl.h>.

ChangeLog
lib/fwritable.c

index 8508a2c..7fde29e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-02-04  Bruno Haible  <bruno@clisp.org>
+
+       stdioext: Fix last commit.
+       * lib/fwritable.c [EPLAN9]: Include <fcntl.h>.
+
 2012-02-03  Bruno Haible  <bruno@clisp.org>
 
        stdioext: Add tentative support for Plan9.
index 0c9a49e..1c203d0 100644 (file)
 
 #include "stdio-impl.h"
 
+#if defined EPLAN9                  /* Plan9 */
+# include <fcntl.h>
+#endif
+
 bool
 fwritable (FILE *fp)
 {