From f423d39b256fbd3ec532e2417ef5a2169cc4472e Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Fri, 10 Oct 2008 11:49:07 -0600 Subject: [PATCH] explicitly include stdint.h in java-nio.cpp --- classpath/java-nio.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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