Commit 6be83e6141b4ae8d57dd527f4a12ae2164faf3db

Ryan C. Gordon 2019-10-16T13:54:35

emscripten: Patched to compile (thanks, Caleb!). Fixes Bugzilla #4827.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/SDL.c b/src/SDL.c
index 37423d4..4ad7d0d 100644
--- a/src/SDL.c
+++ b/src/SDL.c
@@ -24,6 +24,10 @@
 #include "core/windows/SDL_windows.h"
 #endif
 
+#if defined(__EMSCRIPTEN__)
+#include <emscripten.h>
+#endif
+
 /* Initialization code for SDL */
 
 #include "SDL.h"