changeset 8705:caaaf4823aec

* lib/fflush.c: Fix missing include. Reported by Bruno Haible.
author Eric Blake <ebb9@byu.net>
date Mon, 23 Apr 2007 12:49:50 +0000
parents cd62ee26b120
children 6241ddf70c2e
files ChangeLog lib/fflush.c
diffstat 2 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-04-23  Eric Blake  <ebb9@byu.net>
+
+	* lib/fflush.c: Fix missing include.
+	Reported by Bruno Haible.
+
 2007-04-23  Bruno Haible  <bruno@clisp.org>
 
 	* lib/fpurge.c (fpurge) [glibc, BSD]: Free a malloc()ed ungetc buffer.
--- a/lib/fflush.c
+++ b/lib/fflush.c
@@ -18,8 +18,12 @@
 /* Written by Eric Blake. */
 
 #include <config.h>
+
+/* Specification.  */
+#include <stdio.h>
+
 #include <errno.h>
-#include <stdio.h>
+#include <unistd.h>
 
 #include "fpurge.h"