about summary refs log tree commit diff
path: root/libio/iofwrite.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iofwrite.c')
-rw-r--r--libio/iofwrite.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libio/iofwrite.c b/libio/iofwrite.c
index 9a4016f06e..47c166cf22 100644
--- a/libio/iofwrite.c
+++ b/libio/iofwrite.c
@@ -53,8 +53,9 @@ _IO_fwrite (buf, size, count, fp)
 INTDEF(_IO_fwrite)
 
 #ifdef weak_alias
+# include <stdio.h>
 weak_alias (_IO_fwrite, fwrite)
-
+libc_hidden_weak (fwrite)
 # ifndef _IO_MTSAFE_IO
 weak_alias (_IO_fwrite, fwrite_unlocked)
 # endif