commit | 50b7067763308074f4c19e733ac7f867471de857 | [log] [tgz] |
---|---|---|
author | Tad Fisher <tadfisher@gmail.com> | Wed Nov 22 13:46:19 2017 -0800 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Sun Dec 17 15:46:28 2017 +0000 |
tree | c3d7c1aaf81bd54926d77f14b27680247e0c4822 | |
parent | b28c5379a52d34717fd23307abe34f933d42850a [diff] |
bind/java: fix build on NDK r16 Import <string.h> to provide a memcpy declaration. Fixes golang/go#22766 Change-Id: I0762a1bb9d8d30bb1ae6f1a98648795ea57b0913 Reviewed-on: https://go-review.googlesource.com/79499 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
diff --git a/bind/java/seq_android.c.support b/bind/java/seq_android.c.support index fbc6d55..7c0f483 100644 --- a/bind/java/seq_android.c.support +++ b/bind/java/seq_android.c.support
@@ -11,6 +11,7 @@ #include <jni.h> #include <stdint.h> #include <stdio.h> +#include <string.h> #include <unistd.h> #include <pthread.h> #include "seq.h"