diff options
Diffstat (limited to 'include/mbgl/android/jni.hpp')
-rw-r--r-- | include/mbgl/android/jni.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/mbgl/android/jni.hpp b/include/mbgl/android/jni.hpp index 5f71f697d0..698c024731 100644 --- a/include/mbgl/android/jni.hpp +++ b/include/mbgl/android/jni.hpp @@ -2,7 +2,11 @@ #define MBGL_ANDROID_JNI #include <string> -#include <jni.h> + +// Forward definition of JNI types +typedef class _jclass* jclass; +typedef struct _jmethodID* jmethodID; +typedef struct _jfieldID* jfieldID; namespace mbgl { namespace android { |