summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authorJan Ekström <jeebjp@gmail.com>2017-07-25 22:14:06 +0300
committerJan Ekström <jeebjp@gmail.com>2017-08-05 01:51:29 +0300
commit0389852db023cd7a3c2a31424f8835ccbc846a15 (patch)
tree352caa2263a4699c74334e768532f4a5fec82dbd /osdep
parent1a0d92aeca573bab24928f5e5471b247d46ce9d6 (diff)
downloadmpv-0389852db023cd7a3c2a31424f8835ccbc846a15.tar.bz2
mpv-0389852db023cd7a3c2a31424f8835ccbc846a15.tar.xz
{demux_mf,osdep/io}: disable glob usage when it is not available
This currently is only limited to Android. Its stdlib contains the things that mpv's POSIX check checks for, but unfortunately not glob(). This fixes Android compilation broken in 70a70b9da .
Diffstat (limited to 'osdep')
-rw-r--r--osdep/io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/io.h b/osdep/io.h
index 61d2a4af55..35c7c52691 100644
--- a/osdep/io.h
+++ b/osdep/io.h
@@ -28,7 +28,7 @@
#include <sys/stat.h>
#include <fcntl.h>
-#if HAVE_POSIX
+#if HAVE_GLOB_POSIX
#include <glob.h>
#endif