about summary refs log tree commit diff
path: root/stdio-common/vfprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/vfprintf.c')
-rw-r--r--stdio-common/vfprintf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/stdio-common/vfprintf.c b/stdio-common/vfprintf.c
index ec30aba7e4..21368e1aab 100644
--- a/stdio-common/vfprintf.c
+++ b/stdio-common/vfprintf.c
@@ -29,6 +29,7 @@
 #include <sys/param.h>
 #include "_itoa.h"
 #include <locale/localeinfo.h>
+#include <stdio.h>
 
 /* This code is shared between the standard stdio implementation found
    in GNU C library and the libio implementation originally found in
@@ -104,7 +105,6 @@
 # endif
 #else /* ! USE_IN_LIBIO */
 /* This code is for use in the GNU C library.  */
-# include <stdio.h>
 # define ARGCHECK(S, Format) \
   do									      \
     {									      \
@@ -2264,6 +2264,7 @@ strong_alias (_IO_vfwprintf, __vfwprintf);
 weak_alias (_IO_vfwprintf, vfwprintf);
 #  else
 strong_alias (_IO_vfprintf, vfprintf);
+libc_hidden_def (vfprintf)
 INTDEF(_IO_vfprintf)
 #  endif
 # else