diff options
author | wm4 <wm4@nowhere> | 2014-07-10 08:28:03 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-07-10 08:29:32 +0200 |
commit | f8c2dd1b785125e82b9f2d04f1618137db1e2378 (patch) | |
tree | 457fc6cb667876c9d4a7dff37bd3e539d742d03b /sub | |
parent | e1f2540ede81d79423f51dcd9de2104ab0042132 (diff) | |
download | mpv-f8c2dd1b785125e82b9f2d04f1618137db1e2378.tar.bz2 mpv-f8c2dd1b785125e82b9f2d04f1618137db1e2378.tar.xz |
build: include <strings.h> for strcasecmp()
It happens to work without strings.h on glibc or with _GNU_SOURCE, but
the POSIX standard requires including <strings.h>.
Hopefully fixes OSX build.
Diffstat (limited to 'sub')
-rw-r--r-- | sub/find_subfiles.c | 1 | ||||
-rw-r--r-- | sub/sd_srt.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sub/find_subfiles.c b/sub/find_subfiles.c index ade267cfa6..b4132aa47f 100644 --- a/sub/find_subfiles.c +++ b/sub/find_subfiles.c @@ -1,5 +1,6 @@ #include <dirent.h> #include <string.h> +#include <strings.h> #include <stdlib.h> #include <assert.h> diff --git a/sub/sd_srt.c b/sub/sd_srt.c index 0ca807f312..160f865e11 100644 --- a/sub/sd_srt.c +++ b/sub/sd_srt.c @@ -19,6 +19,7 @@ */ #include <string.h> +#include <strings.h> #include <stdint.h> #include <stdlib.h> #include <stdio.h> |