summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorJan Ekström <jeebjp@gmail.com>2016-02-07 14:27:46 +0200
committerwm4 <wm4@nowhere>2016-02-10 21:29:36 +0100
commitff0112e08df32e88549d142371d49a2a8ac8a798 (patch)
treed6499c8fb960025f898fca81d282c1842fa78135 /common
parenta75f40e0d73d8d3686477aedbb51462c72d693fd (diff)
downloadmpv-ff0112e08df32e88549d142371d49a2a8ac8a798.tar.bz2
mpv-ff0112e08df32e88549d142371d49a2a8ac8a798.tar.xz
Initial Android support
* Adds an 'android' feature, which is automatically detected. * Android has a broken strnlen, so a wrapper is added from FreeBSD.
Diffstat (limited to 'common')
-rw-r--r--common/common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/common.c b/common/common.c
index 41647b3450..eead096d5a 100644
--- a/common/common.c
+++ b/common/common.c
@@ -25,6 +25,7 @@
#include "misc/bstr.h"
#include "misc/ctype.h"
#include "common/common.h"
+#include "osdep/strnlen.h"
#define appendf(ptr, ...) \
do {(*(ptr)) = talloc_asprintf_append_buffer(*(ptr), __VA_ARGS__);} while(0)