summary refs log tree commit diff
path: root/stdio-common/asprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/asprintf.c')
-rw-r--r--stdio-common/asprintf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/stdio-common/asprintf.c b/stdio-common/asprintf.c
index bfc4d215a2..56c49de4e1 100644
--- a/stdio-common/asprintf.c
+++ b/stdio-common/asprintf.c
@@ -19,6 +19,10 @@
 #include <stdarg.h>
 #include <stdio.h>
 
+#ifdef USE_IN_LIBIO
+# define vasprintf(s, f, a) _IO_vasprintf (s, f, a)
+#endif
+
 /* Write formatted output from FORMAT to a string which is
    allocated with malloc and stored in *STRING_PTR.  */
 /* VARARGS2 */