From a99489422a881d2ace0312e82aa4191cec877b5c Mon Sep 17 00:00:00 2001 From: DeaDDooMER Date: Tue, 24 Mar 2020 17:22:41 +0300 Subject: [PATCH] openal: fix building on linux --- src/openal/sound.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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 -- 2.29.2