summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/java/ChangeLog6
-rw-r--r--gcc/java/Make-lang.in2
-rw-r--r--gcc/java/win32-host.c2
3 files changed, 9 insertions, 1 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index ebdbf55e954..6fd757384a6 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,5 +1,11 @@
2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
+ * Make-lang.in (java/win32-host.o): Add dependency on
+ coretypes.h.
+ * win32-host.c: Add includes for coretypes.h, jcf.h
+
+2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
+
* Make-lang.in (GCJH_OBJS): Change dependency from
ggc-none.o to java/ggc-none.o
(JCFDUMP_OBJS): Likewise.
diff --git a/gcc/java/Make-lang.in b/gcc/java/Make-lang.in
index ef7f685ff26..c53f4283164 100644
--- a/gcc/java/Make-lang.in
+++ b/gcc/java/Make-lang.in
@@ -325,7 +325,7 @@ java/resource.o: java/resource.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
$(TARGET_H) function.h gt-java-resource.h expr.h
java/typeck.o: java/typeck.c $(CONFIG_H) $(JAVA_TREE_H) java/jcf.h \
java/convert.h toplev.h $(SYSTEM_H) coretypes.h $(TM_H) $(GGC_H) real.h
-java/win32-host.o: java/win32-host.c $(CONFIG_H) $(SYSTEM_H) java/jcf.h
+java/win32-host.o: java/win32-host.c $(CONFIG_H) $(SYSTEM_H) coretypes.h java/jcf.h
java/verify.o: java/verify.c $(CONFIG_H) $(JAVA_TREE_H) java/jcf.h \
java/javaop.h java/java-opcodes.h java/java-except.h toplev.h $(SYSTEM_H) \
coretypes.h $(TM_H)
diff --git a/gcc/java/win32-host.c b/gcc/java/win32-host.c
index b80da0786a0..d5d9eb8a1b7 100644
--- a/gcc/java/win32-host.c
+++ b/gcc/java/win32-host.c
@@ -28,6 +28,8 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#include "config.h"
#include "system.h"
+#include "coretypes.h"
+#include "jcf.h"
#define WIN32_LEAN_AND_MEAN
#include <windows.h>