summary refs log tree commit diff
path: root/stdio-common/sprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/sprintf.c')
-rw-r--r--stdio-common/sprintf.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/stdio-common/sprintf.c b/stdio-common/sprintf.c
index 6ea13661a1..0a0259ef0c 100644
--- a/stdio-common/sprintf.c
+++ b/stdio-common/sprintf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1997, 1998 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -19,6 +19,10 @@
 #include <stdarg.h>
 #include <stdio.h>
 
+#ifdef USE_IN_LIBIO
+# define vsprintf(s, f, a) _IO_vsprintf (s, f, a)
+#endif
+
 /* Write formatted output into S, according to the format string FORMAT.  */
 /* VARARGS2 */
 int