diff options
author | Sven Gothel <[email protected]> | 2011-06-07 23:39:20 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-06-07 23:39:20 +0200 |
commit | 3c9d9db8a348eca768042140516979d32a75bffa (patch) | |
tree | a36ab66f6e65e8910d1b2f3efdee8b1d2c72e9f7 /src | |
parent | 79abcf4e0d44d497c538fab71c98a5fd356e3a23 (diff) |
Fix C / JNI compilation: Add/use javah, recompile if out of date,
Diffstat (limited to 'src')
-rw-r--r-- | src/native/common/JVM_Tool.c | 2 | ||||
-rw-r--r-- | src/native/common/PointerBuffer.c | 2 | ||||
-rwxr-xr-x | src/native/macosx/MacOSXDynamicLinkerImpl_JNI.c | 2 | ||||
-rwxr-xr-x | src/native/unix/UnixDynamicLinkerImpl_JNI.c | 2 | ||||
-rwxr-xr-x | src/native/windows/WindowsDynamicLinkerImpl_JNI.c | 2 |
5 files changed, 10 insertions, 0 deletions
diff --git a/src/native/common/JVM_Tool.c b/src/native/common/JVM_Tool.c index cb08b47..bd6d340 100644 --- a/src/native/common/JVM_Tool.c +++ b/src/native/common/JVM_Tool.c @@ -39,6 +39,8 @@ #include <jni.h> +#include "com_jogamp_common_jvm_JVMUtil.h" + JNIEXPORT jboolean JNICALL Java_com_jogamp_common_jvm_JVMUtil_initialize(JNIEnv *env, jclass _unused, jobject nioBuffer) { int res; 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 ; diff --git a/src/native/macosx/MacOSXDynamicLinkerImpl_JNI.c b/src/native/macosx/MacOSXDynamicLinkerImpl_JNI.c index 02f2b5c..5b67a42 100755 --- a/src/native/macosx/MacOSXDynamicLinkerImpl_JNI.c +++ b/src/native/macosx/MacOSXDynamicLinkerImpl_JNI.c @@ -4,6 +4,8 @@ #include <assert.h> +#include "com_jogamp_common_os_MacOSXDynamicLinkerImpl.h" + #include <dlfcn.h> #include </usr/include/machine/types.h> diff --git a/src/native/unix/UnixDynamicLinkerImpl_JNI.c b/src/native/unix/UnixDynamicLinkerImpl_JNI.c index 2ea863e..cfe47f9 100755 --- a/src/native/unix/UnixDynamicLinkerImpl_JNI.c +++ b/src/native/unix/UnixDynamicLinkerImpl_JNI.c @@ -4,6 +4,8 @@ #include <assert.h> +#include "com_jogamp_common_os_UnixDynamicLinkerImpl.h" + #include <dlfcn.h> #include <inttypes.h> diff --git a/src/native/windows/WindowsDynamicLinkerImpl_JNI.c b/src/native/windows/WindowsDynamicLinkerImpl_JNI.c index b4a9787..b253c9c 100755 --- a/src/native/windows/WindowsDynamicLinkerImpl_JNI.c +++ b/src/native/windows/WindowsDynamicLinkerImpl_JNI.c @@ -5,6 +5,8 @@ #include <assert.h> +#include "com_jogamp_common_os_WindowsDynamicLinkerImpl.h" + #include <windows.h> /* This typedef is apparently needed for compilers before VC8, and for the embedded ARM compilers we're using */ |