about summary refs log tree commit diff
path: root/stdio-common/getline.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/getline.c')
-rw-r--r--stdio-common/getline.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/stdio-common/getline.c b/stdio-common/getline.c
index 1a2f975c75..f103979333 100644
--- a/stdio-common/getline.c
+++ b/stdio-common/getline.c
@@ -22,6 +22,11 @@ Cambridge, MA 02139, USA.  */
 
 #undef __getline
 
+#ifdef USE_IN_LIBIO
+# define ssize_t _IO_ssize_t
+# define __getdelim _IO_getdelim
+#endif
+
 /* Like getdelim, but always looks for a newline.  */
 ssize_t
 DEFUN(__getline, (lineptr, n, stream),