fix for compilation problem in stdio-common/vfprintf.c

Mark Kettenis kettenis@wins.uva.nl
Sat Jul 29 16:40:00 GMT 2000


I need the following patch to compile stdio-common/vfprintf.c when
stdio is used instead of libio (i.e on the Hurd).

Mark


2000-07-30  Mark Kettenis  <kettenis@gnu.org>

	* stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
	outside USE_IN_LIBIO block.


Index: stdio-common/vfprintf.c
===================================================================
RCS file: /cvs/glibc/libc/stdio-common/vfprintf.c,v
retrieving revision 1.89
diff -u -p -r1.89 vfprintf.c
--- stdio-common/vfprintf.c	2000/07/29 06:44:36	1.89
+++ stdio-common/vfprintf.c	2000/07/29 23:40:22
@@ -102,8 +102,6 @@
 #  undef EOF
 #  define EOF WEOF
 # endif
-
-# include "_i18n_number.h"
 #else /* ! USE_IN_LIBIO */
 /* This code is for use in the GNU C library.  */
 # include <stdio.h>
@@ -154,6 +152,8 @@ ssize_t __printf_pad __P ((FILE *, char 
 extern void __flockfile (FILE *);
 extern void __funlockfile (FILE *);
 #endif /* USE_IN_LIBIO */
+
+#include "_i18n_number.h"
 
 /* Include the shared code for parsing the format string.  */
 #include "printf-parse.h"


More information about the Libc-hacker mailing list