natMethod.cc: Include <alloca.h>.

* java/lang/reflect/natMethod.cc: Include <alloca.h>.
	* java/lang/natDouble.cc: Always include <alloca.h>.
	Fix for PR libgcj/267.

From-SVN: r34665
This commit is contained in:
Tom Tromey 2000-06-23 17:39:00 +00:00 committed by Tom Tromey
parent f5e79dda40
commit 782c59d653
3 changed files with 10 additions and 15 deletions

View File

@ -1,3 +1,9 @@
2000-06-23 Tom Tromey <tromey@cygnus.com>
* java/lang/reflect/natMethod.cc: Include <alloca.h>.
* java/lang/natDouble.cc: Always include <alloca.h>.
Fix for PR libgcj/267.
2000-06-21 Bryce McKinlay <bryce@albatross.co.nz>
* java/lang/ThreadGroup.java (add(Thread)): Rename to addThread() to

View File

@ -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 <config.h>
/* AIX requires this to be the first thing in the file. */
#ifndef __GNUC__
# if HAVE_ALLOCA_H
# include <alloca.h>
# else
# ifdef _AIX
#pragma alloca
# else
# ifndef alloca /* predefined by HP cc +Olibcalls */
char *alloca ();
# endif
# endif
# endif
#endif
#include <alloca.h>
#include <stdlib.h>

View File

@ -10,6 +10,8 @@ details. */
#include <config.h>
#include <alloca.h>
#include <gcj/cni.h>
#include <jvm.h>
#include <jni.h>