Kaynağa Gözat

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

Fixes Bugzilla #4827.
Ryan C. Gordon 6 yıl önce
ebeveyn
işleme
6be83e6141
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  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"