summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rwxr-xr-xlib/fflush.c6
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f5a0210c5c..0c552c2ed9 100644
--- 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.
diff --git a/lib/fflush.c b/lib/fflush.c
index 8c902f80d8..7481e66919 100755
--- a/lib/fflush.c
+++ b/lib/fflush.c
@@ -18,9 +18,13 @@
/* Written by Eric Blake. */
#include <config.h>
-#include <errno.h>
+
+/* Specification. */
#include <stdio.h>
+#include <errno.h>
+#include <unistd.h>
+
#include "fpurge.h"
#undef fflush