stream_libarchive: Fix locale includes on macOS

Fixes #5108
This commit is contained in:
sfan5 2017-12-03 21:52:39 +01:00
parent 744b67d9e5
commit 3ac8a7f694
1 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,11 @@
#include <locale.h>
#include "osdep/io.h"
#ifdef __APPLE__
# include <string.h>
# include <xlocale.h>
#endif
struct mp_log;
struct mp_archive {