@@ -867,7 +867,7 @@ SDL_DINPUT_JoystickQuit(void)
#else /* !SDL_JOYSTICK_DINPUT */
-struct JoyStick_DeviceData;
+typedef struct JoyStick_DeviceData JoyStick_DeviceData;
int
SDL_DINPUT_JoystickInit(void)
@@ -339,7 +339,7 @@ SDL_SYS_IsXInputGamepad_DeviceIndex(int device_index)
#else /* !SDL_JOYSTICK_XINPUT */
SDL_bool SDL_XINPUT_Enabled(void)
{