aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/java/ChangeLog5
-rw-r--r--gcc/java/jcf-parse.c4
-rw-r--r--gcc/java/jv-scan.c4
3 files changed, 13 insertions, 0 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 68a1a13..40ba522 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,8 @@
+2000-09-13 Tom Tromey <tromey@cygnus.com>
+
+ * jcf-parse.c: Include <locale.h>.
+ * jv-scan.c: Include <locale.h>.
+
2000-09-12 Tom Tromey <tromey@cygnus.com>
* expr.c (pop_type_0): Return `Object' if trying to merge two
diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c
index 4b76f59..fd180c7 100644
--- a/gcc/java/jcf-parse.c
+++ b/gcc/java/jcf-parse.c
@@ -35,6 +35,10 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#include "toplev.h"
#include "parse.h"
+#ifdef HAVE_LOCALE_H
+#include <locale.h>
+#endif
+
#ifdef HAVE_NL_LANGINFO
#include <langinfo.h>
#endif
diff --git a/gcc/java/jv-scan.c b/gcc/java/jv-scan.c
index ae9c91d..992573e 100644
--- a/gcc/java/jv-scan.c
+++ b/gcc/java/jv-scan.c
@@ -26,6 +26,10 @@ Boston, MA 02111-1307, USA. */
#include "version.h"
+#ifdef HAVE_LOCALE_H
+#include <locale.h>
+#endif
+
#ifdef HAVE_NL_LANGINFO
#include <langinfo.h>
#endif