aboutsummaryrefslogtreecommitdiff
path: root/android/olm-sdk/src/main/jni/olm_jni.h
diff options
context:
space:
mode:
authorBenoit Marty <benoit.marty@gmail.com>2018-06-26 10:37:07 +0200
committerHubert Chathi <hubert@uhoreg.ca>2018-06-27 14:00:20 -0400
commited7649d71eb3db6a7cd3d96e461cfc2d095ddbb1 (patch)
tree6ac654f4040cd2209d7b5561648f829802f6970e /android/olm-sdk/src/main/jni/olm_jni.h
parent08e50693b7cc2f0934da1ac6514dcc0b05f6e8bf (diff)
Compiling with last NDK + some hardening
Patch received in https://github.com/matrix-org/olm/issues/13
Diffstat (limited to 'android/olm-sdk/src/main/jni/olm_jni.h')
-rw-r--r--android/olm-sdk/src/main/jni/olm_jni.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/android/olm-sdk/src/main/jni/olm_jni.h b/android/olm-sdk/src/main/jni/olm_jni.h
index e6a49e2..6a5eb1d 100644
--- a/android/olm-sdk/src/main/jni/olm_jni.h
+++ b/android/olm-sdk/src/main/jni/olm_jni.h
@@ -21,6 +21,7 @@
#include <cstdlib>
#include <cstdio>
#include <string>
+#include <string.h>
#include <sstream>
#include <jni.h>
#include <android/log.h>