about summary refs log tree commit diff
path: root/malloc
diff options
context:
space:
mode:
Diffstat (limited to 'malloc')
-rw-r--r--malloc/mtrace.c1
-rw-r--r--malloc/obstack.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/malloc/mtrace.c b/malloc/mtrace.c
index 40b3d74f3c..86f89540d4 100644
--- a/malloc/mtrace.c
+++ b/malloc/mtrace.c
@@ -41,6 +41,7 @@ extern char *getenv ();
 #endif
 
 #if defined _LIBC && defined USE_IN_LIBIO
+# include <libio/iolibio.h>
 # define setvbuf(s, b, f, l) _IO_setvbuf (s, b, f, l)
 #endif
 
diff --git a/malloc/obstack.c b/malloc/obstack.c
index f39b638f58..a192441a49 100644
--- a/malloc/obstack.c
+++ b/malloc/obstack.c
@@ -460,6 +460,7 @@ _obstack_memory_used (h)
 # endif
 #endif
 #if defined _LIBC && defined USE_IN_LIBIO
+# include <libio/iolibio.h>
 # define fputs(s, f) _IO_fputs (s, f)
 #endif