diff --git a/classpath/java-nio.cpp b/classpath/java-nio.cpp index 88d0afb195..86eb9aa6c5 100644 --- a/classpath/java-nio.cpp +++ b/classpath/java-nio.cpp @@ -12,9 +12,9 @@ #include #include #include +#include #include -#include "machine.h" #include "jni.h" #include "jni-util.h" @@ -36,6 +36,8 @@ typedef int socklen_t; #endif +inline void* operator new(size_t, void* p) throw() { return p; } + namespace { inline jbyteArray