Browse Source

Fixed compiler warning

Sam Lantinga 11 years ago
parent
commit
a5ce57bc3d
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/video/SDL_egl.c

+ 4 - 0
src/video/SDL_egl.c

@@ -22,6 +22,10 @@
 
 #if SDL_VIDEO_OPENGL_EGL
 
+#if SDL_VIDEO_DRIVER_WINDOWS || SDL_VIDEO_DRIVER_WINRT
+#include "../core/windows/SDL_windows.h"
+#endif
+
 #include "SDL_sysvideo.h"
 #include "SDL_egl_c.h"
 #include "SDL_loadso.h"