Browse Source

emscripten: Patched to compile (thanks, Caleb!).

Fixes Bugzilla #4827.
Ryan C. Gordon 5 years ago
parent
commit
6be83e6141
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/SDL.c

+ 4 - 0
src/SDL.c

@@ -24,6 +24,10 @@
 #include "core/windows/SDL_windows.h"
 #include "core/windows/SDL_windows.h"
 #endif
 #endif
 
 
+#if defined(__EMSCRIPTEN__)
+#include <emscripten.h>
+#endif
+
 /* Initialization code for SDL */
 /* Initialization code for SDL */
 
 
 #include "SDL.h"
 #include "SDL.h"