aboutsummaryrefslogtreecommitdiff
path: root/ports/sdl2/fix-x86-windows.patch
blob: 853b68722cd8847d682acbc293487e579e4a28cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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"