Commit 9ec2cf562981f30a1f50a55eebce5edd91be0897

Sam Lantinga 2020-11-25T10:31:59

Fixed building with Windows.Gaming.Input enabled

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/joystick/windows/SDL_rawinputjoystick_c.h b/src/joystick/windows/SDL_rawinputjoystick_c.h
index a683364..b7d2e63 100644
--- a/src/joystick/windows/SDL_rawinputjoystick_c.h
+++ b/src/joystick/windows/SDL_rawinputjoystick_c.h
@@ -19,6 +19,7 @@
   3. This notice may not be removed or altered from any source distribution.
 */
 #include "../../SDL_internal.h"
+#include "../../core/windows/SDL_windows.h"
 
 /* Return true if the RawInput driver is enabled */
 extern SDL_bool RAWINPUT_IsEnabled();