From 3c9d9db8a348eca768042140516979d32a75bffa Mon Sep 17 00:00:00 2001 From: Sven Gothel <sgothel@jausoft.com> Date: Tue, 7 Jun 2011 23:39:20 +0200 Subject: Fix C / JNI compilation: Add/use javah, recompile if out of date, --- src/native/common/PointerBuffer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/native/common/PointerBuffer.c') diff --git a/src/native/common/PointerBuffer.c b/src/native/common/PointerBuffer.c index 05e003b..a7b8cb0 100644 --- a/src/native/common/PointerBuffer.c +++ b/src/native/common/PointerBuffer.c @@ -3,6 +3,8 @@ #include <assert.h> +#include "com_jogamp_common_nio_PointerBuffer.h" + JNIEXPORT jlong JNICALL Java_com_jogamp_common_nio_PointerBuffer_getDirectBufferAddressImpl(JNIEnv *env, jclass _unused, jobject directBuffer) { return ( NULL != directBuffer ) ? ( jlong) (*env)->GetDirectBufferAddress(env, directBuffer) : 0L ; -- cgit v1.2.3