From df38031f493c0cdb35218fda566077103ee1a68e Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Mon, 29 Oct 2018 22:00:34 +0900 Subject: fixed SDL OSX build --- common/fmplayer_file_unix.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common/fmplayer_file_unix.c') 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 #include #include +#ifdef __APPLE__ +#include +#else #include +#endif #include static void *fileread(const char *path, size_t maxsize, size_t *filesize, enum fmplayer_file_error *error) { -- cgit v1.2.3