src/joystick/windows/SDL_dinputjoystick.c
changeset 9659 839c0c3bf555
parent 9658 9753468b5c0e
child 9660 b7188b6a6f2a
--- a/src/joystick/windows/SDL_dinputjoystick.c	Thu May 28 00:54:52 2015 -0400
+++ b/src/joystick/windows/SDL_dinputjoystick.c	Thu May 28 01:02:03 2015 -0400
@@ -20,9 +20,10 @@
 */
 #include "../../SDL_internal.h"
 
+#include "../SDL_sysjoystick.h"
+
 #if SDL_JOYSTICK_DINPUT
 
-#include "../SDL_sysjoystick.h"
 #include "SDL_windowsjoystick_c.h"
 #include "SDL_dinputjoystick_c.h"
 #include "SDL_xinputjoystick_c.h"
@@ -866,6 +867,7 @@
 
 #else /* !SDL_JOYSTICK_DINPUT */
 
+struct JoyStick_DeviceData;
 
 int
 SDL_DINPUT_JoystickInit(void)