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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libio/iofwrite.c b/libio/iofwrite.c
index 886de7ae35..9be18bd8e0 100644
--- a/libio/iofwrite.c
+++ b/libio/iofwrite.c
@@ -53,4 +53,8 @@ _IO_fwrite (buf, size, count, fp)
 
 #ifdef weak_alias
 weak_alias (_IO_fwrite, fwrite)
+
+# ifndef _IO_MTSAFE_IO
+weak_alias (_IO_fwrite, fwrite_unlocked)
+# endif
 #endif