changeset 16345:7cf3cc0dcf46

stdioext: Fix last commit. * lib/fwritable.c [EPLAN9]: Include <fcntl.h>.
author Bruno Haible <bruno@clisp.org>
date Sat, 04 Feb 2012 12:56:33 +0100
parents ecfc57537d99
children aef1ea36022d
files ChangeLog lib/fwritable.c
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- a/lib/fwritable.c
+++ b/lib/fwritable.c
@@ -21,6 +21,10 @@
 
 #include "stdio-impl.h"
 
+#if defined EPLAN9                  /* Plan9 */
+# include <fcntl.h>
+#endif
+
 bool
 fwritable (FILE *fp)
 {