src/joystick/windows/SDL_xinputjoystick.c
changeset 9659 839c0c3bf555
parent 9658 9753468b5c0e
child 9660 b7188b6a6f2a
--- a/src/joystick/windows/SDL_xinputjoystick.c	Thu May 28 00:54:52 2015 -0400
+++ b/src/joystick/windows/SDL_xinputjoystick.c	Thu May 28 01:02:03 2015 -0400
@@ -20,11 +20,12 @@
 */
 #include "../../SDL_internal.h"
 
+#include "../SDL_sysjoystick.h"
+
 #if SDL_JOYSTICK_XINPUT
 
 #include "SDL_assert.h"
 #include "SDL_hints.h"
-#include "../SDL_sysjoystick.h"
 #include "SDL_windowsjoystick_c.h"
 #include "SDL_xinputjoystick_c.h"
 
@@ -338,6 +339,7 @@
 
 #else /* !SDL_JOYSTICK_XINPUT */
 
+struct JoyStick_DeviceData;
 
 SDL_bool SDL_XINPUT_Enabled(void)
 {