diff --git a/src/video/SDL_egl.c b/src/video/SDL_egl.c index cb0cfe2a4..fe416bfd5 100644 --- a/src/video/SDL_egl.c +++ b/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"