This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch: locale.h and bootstrap on Solaris


My recent iconv-related changes to gcj built fine on Linux but not on
Solaris.  This patch fixes the problem.  I'm checking it in.  I tested
by successfully building on Solaris.

2000-09-13  Tom Tromey  <tromey@cygnus.com>

	* jcf-parse.c: Include <locale.h>.
	* jv-scan.c: Include <locale.h>.

Tom

Index: jcf-parse.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/java/jcf-parse.c,v
retrieving revision 1.54
diff -u -r1.54 jcf-parse.c
--- jcf-parse.c	2000/09/12 22:23:59	1.54
+++ jcf-parse.c	2000/09/13 17:07:32
@@ -35,6 +35,10 @@
 #include "toplev.h"
 #include "parse.h"
 
+#ifdef HAVE_LOCALE_H
+#include <locale.h>
+#endif
+
 #ifdef HAVE_NL_LANGINFO
 #include <langinfo.h>
 #endif
Index: jv-scan.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/java/jv-scan.c,v
retrieving revision 1.18
diff -u -r1.18 jv-scan.c
--- jv-scan.c	2000/09/12 22:23:59	1.18
+++ jv-scan.c	2000/09/13 17:07:32
@@ -26,6 +26,10 @@
 
 #include "version.h"
 
+#ifdef HAVE_LOCALE_H
+#include <locale.h>
+#endif
+
 #ifdef HAVE_NL_LANGINFO
 #include <langinfo.h>
 #endif

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]