summary refs log tree commit diff
path: root/libio/iofread.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iofread.c')
-rw-r--r--libio/iofread.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libio/iofread.c b/libio/iofread.c
index 5fed0d8d7d..ad7e4845a8 100644
--- a/libio/iofread.c
+++ b/libio/iofread.c
@@ -42,4 +42,7 @@ _IO_fread (buf, size, count, fp)
   _IO_cleanup_region_end (1);
   return bytes_requested == bytes_read ? count : bytes_read / size;
 }
+
+#ifdef weak_alias
 weak_alias (_IO_fread, fread)
+#endif