diff options
author | Arne Schwabe <arne@rfc2549.org> | 2014-11-26 00:04:25 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2014-11-26 00:04:25 +0100 |
commit | 5dc503314511f3041b4674569ba03c10714f7625 (patch) | |
tree | 13a7b93ccdaccb85f576d7c29bf432e6039ab48f /main/jni/jniglue.c | |
parent | d02a647cda48441ab0f6f1c5d00d5b3fdb74b691 (diff) |
Implement getting local interfaces via native API and without OpenVPN.
Fixes allow local LAN on Android 5.0
--HG--
extra : rebase_source : ac79c41800905f3aeb23ce49a617ab226a6473c0
Diffstat (limited to 'main/jni/jniglue.c')
-rw-r--r-- | main/jni/jniglue.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/jni/jniglue.c b/main/jni/jniglue.c index 36ad8fe7..d446f78c 100644 --- a/main/jni/jniglue.c +++ b/main/jni/jniglue.c @@ -1,7 +1,8 @@ #include <jni.h> #include <android/log.h> #include <stdlib.h> -#include <setjmp.h> +#include <unistd.h> + #include "jniglue.h" |