summary refs log tree commit diff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/error.c1
-rw-r--r--misc/syslog.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/misc/error.c b/misc/error.c
index ac6de324dd..ca7f3b47b8 100644
--- a/misc/error.c
+++ b/misc/error.c
@@ -77,6 +77,7 @@ unsigned int error_message_count;
 # define error_at_line __error_at_line
 
 # ifdef USE_IN_LIBIO
+# include <libio/iolibio.h>
 #  define fflush(s) _IO_fflush (s)
 # endif
 
diff --git a/misc/syslog.c b/misc/syslog.c
index d025f672e0..a2becb43e7 100644
--- a/misc/syslog.c
+++ b/misc/syslog.c
@@ -59,6 +59,7 @@ static char sccsid[] = "@(#)syslog.c	8.4 (Berkeley) 3/18/94";
 #endif
 
 #ifdef USE_IN_LIBIO
+# include <libio/iolibio.h>
 # define ftell(s) _IO_ftell (s)
 #endif