aboutsummaryrefslogtreecommitdiff
path: root/libjava/exception.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/exception.cc')
-rw-r--r--libjava/exception.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/libjava/exception.cc b/libjava/exception.cc
index 0dbf4aa1b54..3a458dc9042 100644
--- a/libjava/exception.cc
+++ b/libjava/exception.cc
@@ -12,6 +12,7 @@ details. */
#include "exception"
#include <stddef.h>
+#include <stdlib.h>
#include <java/lang/Class.h>
#include <java/lang/NullPointerException.h>
@@ -37,9 +38,6 @@ extern "C" void __sjthrow () __attribute__ ((__noreturn__));
extern "C" short __get_eh_table_version (void *table);
extern "C" short __get_eh_table_language (void *table);
-extern "C" void * malloc (size_t);
-extern "C" void free (void *);
-
extern "C" void *
_Jv_type_matcher (java_eh_info *info, void* match_info,