about summary refs log tree commit diff
path: root/libio/iofgets.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iofgets.c')
-rw-r--r--libio/iofgets.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libio/iofgets.c b/libio/iofgets.c
index 7a1044f801..c8ec289bd1 100644
--- a/libio/iofgets.c
+++ b/libio/iofgets.c
@@ -50,4 +50,6 @@ _IO_fgets (buf, n, fp)
   return result;
 }
 
+#ifdef weak_alias
 weak_alias (_IO_fgets, fgets)
+#endif