about summary refs log tree commit diff
path: root/libio/iofputs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iofputs.c')
-rw-r--r--libio/iofputs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libio/iofputs.c b/libio/iofputs.c
index ed41d5a49c..32acf987a5 100644
--- a/libio/iofputs.c
+++ b/libio/iofputs.c
@@ -46,4 +46,8 @@ _IO_fputs (str, fp)
 
 #ifdef weak_alias
 weak_alias (_IO_fputs, fputs)
+
+# ifndef _IO_MTSAFE_IO
+weak_alias (_IO_fputs, fputs_unlocked)
+# endif
 #endif