From: DeaDDooMER Date: Tue, 24 Mar 2020 14:22:41 +0000 (+0300) Subject: openal: fix building on linux X-Git-Url: http://deadsoftware.ru/gitweb?p=flatwaifu.git;a=commitdiff_plain;h=a99489422a881d2ace0312e82aa4191cec877b5c openal: fix building on linux --- diff --git a/src/openal/sound.c b/src/openal/sound.c index d046803..9dfca19 100644 --- a/src/openal/sound.c +++ b/src/openal/sound.c @@ -6,8 +6,14 @@ #include "misc.h" // int2host #include "error.h" // logo -#include -#include +#ifdef __APPLE__ +# include +# include +#else +# include +# include +#endif + #include // SDL_BuildAudioCVT SDL_ConvertAudio #include #include // malloc