diff --git a/libjava/ChangeLog b/libjava/ChangeLog index a6957f89550..9bb0d8c08f2 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,9 @@ +2000-06-23 Tom Tromey + + * java/lang/reflect/natMethod.cc: Include . + * java/lang/natDouble.cc: Always include . + Fix for PR libgcj/267. + 2000-06-21 Bryce McKinlay * java/lang/ThreadGroup.java (add(Thread)): Rename to addThread() to diff --git a/libjava/java/lang/natDouble.cc b/libjava/java/lang/natDouble.cc index 86ccdef5b3b..f37060fb853 100644 --- a/libjava/java/lang/natDouble.cc +++ b/libjava/java/lang/natDouble.cc @@ -1,6 +1,6 @@ // natDouble.cc - Implementation of java.lang.Double native methods. -/* Copyright (C) 1998, 1999 Free Software Foundation +/* Copyright (C) 1998, 1999, 2000 Free Software Foundation This file is part of libgcj. @@ -10,20 +10,7 @@ details. */ #include -/* AIX requires this to be the first thing in the file. */ -#ifndef __GNUC__ -# if HAVE_ALLOCA_H -# include -# else -# ifdef _AIX - #pragma alloca -# else -# ifndef alloca /* predefined by HP cc +Olibcalls */ -char *alloca (); -# endif -# endif -# endif -#endif +#include #include diff --git a/libjava/java/lang/reflect/natMethod.cc b/libjava/java/lang/reflect/natMethod.cc index 345637ef119..0cee80b1ddf 100644 --- a/libjava/java/lang/reflect/natMethod.cc +++ b/libjava/java/lang/reflect/natMethod.cc @@ -10,6 +10,8 @@ details. */ #include +#include + #include #include #include