From d282d631afc332806d0fc8e74136a198da641735 Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Sun, 13 Jan 2019 00:25:23 +0100 Subject: [PATCH] Fix emscripten build with SDL_mixer (include) It's strange but only this SDL include needs to be prefixed by SDL2/ directory. --- src/sound.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sound.h b/src/sound.h index ccf3f18..f651ff2 100644 --- a/src/sound.h +++ b/src/sound.h @@ -25,7 +25,11 @@ #include #include +#ifdef EMSCRIPTEN +#include +#else /* EMSCRIPTEN */ #include +#endif /* !EMSCRIPTEN */ #include "blupi.h"