diff options
author | bryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-31 22:49:19 +0000 |
---|---|---|
committer | bryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-31 22:49:19 +0000 |
commit | 5f526d197ac4455c61d87aa01da276f025183f8b (patch) | |
tree | 32385bd0f1415823cb0c5a6cc510558e037fc87e | |
parent | b25177401d9b89fbaf70b784320eb6021db7fa18 (diff) | |
download | gcc-5f526d197ac4455c61d87aa01da276f025183f8b.tar.gz |
2000-05-31 Bryce McKinlay <bryce@albatross.co.nz>
* gcj/cni.h: Include <string.h>.
* defineclass.cc: Include <alloca.h>.
* interpret.cc: Ditto.
* gij.cc: Include <stdlib.h>.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34311 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | libjava/ChangeLog | 7 | ||||
-rw-r--r-- | libjava/defineclass.cc | 1 | ||||
-rw-r--r-- | libjava/gcj/cni.h | 2 | ||||
-rw-r--r-- | libjava/gij.cc | 1 | ||||
-rw-r--r-- | libjava/interpret.cc | 2 |
5 files changed, 13 insertions, 0 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 1361abe40a0..ded5d9b318f 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,10 @@ +2000-05-31 Bryce McKinlay <bryce@albatross.co.nz> + + * gcj/cni.h: Include <string.h>. + * defineclass.cc: Include <alloca.h>. + * interpret.cc: Ditto. + * gij.cc: Include <stdlib.h>. + 2000-05-30 Tom Tromey <tromey@cygnus.com> * include/name-finder.h: Include <sys/wait.h>. diff --git a/libjava/defineclass.cc b/libjava/defineclass.cc index 33269ab0aab..e38ffeca20b 100644 --- a/libjava/defineclass.cc +++ b/libjava/defineclass.cc @@ -24,6 +24,7 @@ details. */ #ifdef INTERPRETER +#include <alloca.h> #include <java-cpool.h> #include <gcj/cni.h> diff --git a/libjava/gcj/cni.h b/libjava/gcj/cni.h index ff45fb058ca..1dacbd0810d 100644 --- a/libjava/gcj/cni.h +++ b/libjava/gcj/cni.h @@ -18,6 +18,8 @@ details. */ #include <gcj/array.h> +#include <string.h> + extern inline jobject JvAllocObject (jclass cls) { diff --git a/libjava/gij.cc b/libjava/gij.cc index d97a56e7f45..948ea03c3a9 100644 --- a/libjava/gij.cc +++ b/libjava/gij.cc @@ -16,6 +16,7 @@ details. */ #include <stdio.h> #include <string.h> +#include <stdlib.h> #include <java/lang/System.h> #include <java/util/Properties.h> diff --git a/libjava/interpret.cc b/libjava/interpret.cc index 6fd1fa6e43c..f9fbd3df9fd 100644 --- a/libjava/interpret.cc +++ b/libjava/interpret.cc @@ -35,6 +35,8 @@ details. */ #ifdef INTERPRETER +#include <alloca.h> + #define ClassError _CL_Q34java4lang5Error extern java::lang::Class ClassError; |