diff options
author | Takamichi Horikawa <takamichiho@gmail.com> | 2018-10-29 22:00:34 +0900 |
---|---|---|
committer | Takamichi Horikawa <takamichiho@gmail.com> | 2018-10-29 22:00:34 +0900 |
commit | df38031f493c0cdb35218fda566077103ee1a68e (patch) | |
tree | 1a90f2dec0e9a3a6d195bfbca7b4a54958d639bf /common | |
parent | 8f72d89b6c39e9f516fda8133db146b01bad4560 (diff) |
fixed SDL OSX build
Diffstat (limited to 'common')
-rw-r--r-- | common/fmplayer_file_unix.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/fmplayer_file_unix.c b/common/fmplayer_file_unix.c index 88f1815..13d9450 100644 --- a/common/fmplayer_file_unix.c +++ b/common/fmplayer_file_unix.c @@ -7,7 +7,11 @@ #include <string.h> #include <strings.h> #include <iconv.h> +#ifdef __APPLE__ +#include <xlocale.h> +#else #include <locale.h> +#endif #include <langinfo.h> static void *fileread(const char *path, size_t maxsize, size_t *filesize, enum fmplayer_file_error *error) { |