From 6be83e6141b4ae8d57dd527f4a12ae2164faf3db Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 16 Oct 2019 13:54:35 -0400 Subject: [PATCH] emscripten: Patched to compile (thanks, Caleb!). Fixes Bugzilla #4827. --- src/SDL.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/SDL.c b/src/SDL.c index 37423d4d0..4ad7d0de4 100644 --- a/src/SDL.c +++ b/src/SDL.c @@ -24,6 +24,10 @@ #include "core/windows/SDL_windows.h" #endif +#if defined(__EMSCRIPTEN__) +#include +#endif + /* Initialization code for SDL */ #include "SDL.h"