summaryrefslogtreecommitdiff
path: root/libjava/defineclass.cc
diff options
context:
space:
mode:
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-14 07:51:56 +0000
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-14 07:51:56 +0000
commitec99c8245dcc12f9590c367a445bbe53bb3fb615 (patch)
treeb6d90ae85faa8c655f2554e676c8df655d8e517e /libjava/defineclass.cc
parent142691bdd3c63a76fe6e526e3ef35d015f0e80a8 (diff)
downloadgcc-ec99c8245dcc12f9590c367a445bbe53bb3fb615.tar.gz
* defineclass.cc: Include alloca.h only if HAVE_ALLOCA_H.
* java/lang/natDouble.cc: Likewise. * java/lang/reflect/natMethod.cc: Likewise. * interpret.cc: Likewise. Fix NULLCHECKs that tested a _Jv_word. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36404 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/defineclass.cc')
-rw-r--r--libjava/defineclass.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libjava/defineclass.cc b/libjava/defineclass.cc
index e38ffeca20b..7ddead0965b 100644
--- a/libjava/defineclass.cc
+++ b/libjava/defineclass.cc
@@ -24,7 +24,9 @@ details. */
#ifdef INTERPRETER
+#if HAVE_ALLOCA_H
#include <alloca.h>
+#endif
#include <java-cpool.h>
#include <gcj/cni.h>