aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/common/PointerBuffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/native/common/PointerBuffer.c')
-rw-r--r--src/native/common/PointerBuffer.c2
1 files changed, 2 insertions, 0 deletions
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 ;