From 0389852db023cd7a3c2a31424f8835ccbc846a15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Ekstr=C3=B6m?= Date: Tue, 25 Jul 2017 22:14:06 +0300 Subject: {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 . --- osdep/io.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'osdep') 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 #include -#if HAVE_POSIX +#if HAVE_GLOB_POSIX #include #endif -- cgit v1.2.3