about summary refs log tree commit diff
path: root/libio/iofflush.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iofflush.c')
-rw-r--r--libio/iofflush.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libio/iofflush.c b/libio/iofflush.c
index 724ff26ac8..126947aace 100644
--- a/libio/iofflush.c
+++ b/libio/iofflush.c
@@ -47,4 +47,8 @@ _IO_fflush (fp)
 
 #ifdef weak_alias
 weak_alias (_IO_fflush, fflush)
+
+#ifndef _IO_MTSAFE_IO
+weak_alias (_IO_fflush, fflush_unlocked)
+#endif
 #endif