Commit 8bac79679155ead3e630608dce0c7bffe83ccbba

Ryan C. Gordon 2015-06-07T18:29:23

Maybe patched to compile on some Windows configurations. (Maybe) Fixes Bugzilla #3001.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/haptic/windows/SDL_xinputhaptic.c b/src/haptic/windows/SDL_xinputhaptic.c
index 0940161..b5fb2e3 100644
--- a/src/haptic/windows/SDL_xinputhaptic.c
+++ b/src/haptic/windows/SDL_xinputhaptic.c
@@ -375,6 +375,8 @@ SDL_XINPUT_HapticStopAll(SDL_Haptic * haptic)
 
 #else /* !SDL_HAPTIC_XINPUT */
 
+#include "../../core/windows/SDL_windows.h"
+
 typedef struct SDL_hapticlist_item SDL_hapticlist_item;
 
 int