From f8c2dd1b785125e82b9f2d04f1618137db1e2378 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 10 Jul 2014 08:28:03 +0200 Subject: build: include for strcasecmp() It happens to work without strings.h on glibc or with _GNU_SOURCE, but the POSIX standard requires including . Hopefully fixes OSX build. --- demux/demux_lavf.c | 3 +-- demux/demux_mf.c | 1 + demux/demux_playlist.c | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'demux') diff --git a/demux/demux_lavf.c b/demux/demux_lavf.c index db2499d61e..e4d2cce2ec 100644 --- a/demux/demux_lavf.c +++ b/demux/demux_lavf.c @@ -18,12 +18,11 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -// #include #include -// #include #include #include #include +#include #include #include "config.h" diff --git a/demux/demux_mf.c b/demux/demux_mf.c index 1a91d3f124..721d99cf4d 100644 --- a/demux/demux_mf.c +++ b/demux/demux_mf.c @@ -18,6 +18,7 @@ #include #include +#include #include #include #include diff --git a/demux/demux_playlist.c b/demux/demux_playlist.c index b2344b5583..9f533e1b8e 100644 --- a/demux/demux_playlist.c +++ b/demux/demux_playlist.c @@ -15,6 +15,8 @@ * with mpv. If not, see . */ +#include + #include "common/common.h" #include "options/options.h" #include "common/msg.h" -- cgit v1.2.3