vcpkg/ports/sdl2/fix-x86-windows.patch
jdellar 8dc8d0e0c9 [sdl2] Update to SDL2 2.0.9 (#4648)
* [sdl2] Update to SDL2 2.0.9

* [sdl2] Fix x86-windows and fix uwp patch
2018-11-08 23:49:24 -08:00

16 lines
359 B
Diff

diff --git a/src/events/SDL_mouse.c b/src/events/SDL_mouse.c
index ff23c5e..fc90bba 100644
--- a/src/events/SDL_mouse.c
+++ b/src/events/SDL_mouse.c
@@ -20,6 +20,10 @@
*/
#include "../SDL_internal.h"
+#ifdef __WIN32__
+#include "../core/windows/SDL_windows.h"
+#endif
+
/* General mouse handling code for SDL */
#include "SDL_assert.h"