Commit 84ce000670d0d0a8a07e5a6b7d1d1fc26e2dc577

Ryan C. Gordon 2015-05-28T01:27:24

I think this will be the time...

diff --git a/src/haptic/windows/SDL_dinputhaptic.c b/src/haptic/windows/SDL_dinputhaptic.c
index 0112111..1cd7042 100644
--- a/src/haptic/windows/SDL_dinputhaptic.c
+++ b/src/haptic/windows/SDL_dinputhaptic.c
@@ -1182,6 +1182,7 @@ SDL_DINPUT_HapticStopAll(SDL_Haptic * haptic)
 #else /* !SDL_HAPTIC_DINPUT */
 
 typedef struct DIDEVICEINSTANCE DIDEVICEINSTANCE;
+typedef struct SDL_hapticlist_item SDL_hapticlist_item;
 
 int
 SDL_DINPUT_HapticInit(void)
diff --git a/src/haptic/windows/SDL_xinputhaptic.c b/src/haptic/windows/SDL_xinputhaptic.c
index bc02dbc..0940161 100644
--- a/src/haptic/windows/SDL_xinputhaptic.c
+++ b/src/haptic/windows/SDL_xinputhaptic.c
@@ -375,6 +375,7 @@ SDL_XINPUT_HapticStopAll(SDL_Haptic * haptic)
 
 #else /* !SDL_HAPTIC_XINPUT */
 
+typedef struct SDL_hapticlist_item SDL_hapticlist_item;
 
 int
 SDL_XINPUT_HapticInit(void)