about summary refs log tree commit diff
path: root/stdio-common/snprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/snprintf.c')
-rw-r--r--stdio-common/snprintf.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/stdio-common/snprintf.c b/stdio-common/snprintf.c
index 3e6950dc47..08aaf88f18 100644
--- a/stdio-common/snprintf.c
+++ b/stdio-common/snprintf.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 __vsnprintf(s, l, f, a) _IO_vsnprintf (s, l, f, a)
+#endif
+
 /* Write formatted output into S, according to the format
    string FORMAT, writing no more than MAXLEN characters.  */
 /* VARARGS3 */