src/haptic/windows/SDL_dinputhaptic.c
changeset 9661 62a04df5afe1
parent 9658 9753468b5c0e
child 9662 932e57cf5648
     1.1 --- a/src/haptic/windows/SDL_dinputhaptic.c	Thu May 28 01:08:33 2015 -0400
     1.2 +++ b/src/haptic/windows/SDL_dinputhaptic.c	Thu May 28 01:16:55 2015 -0400
     1.3 @@ -20,11 +20,12 @@
     1.4  */
     1.5  #include "../../SDL_internal.h"
     1.6  
     1.7 +#include "SDL_error.h"
     1.8 +#include "SDL_haptic.h"
     1.9 +
    1.10  #if SDL_HAPTIC_DINPUT
    1.11  
    1.12 -#include "SDL_error.h"
    1.13  #include "SDL_stdinc.h"
    1.14 -#include "SDL_haptic.h"
    1.15  #include "SDL_timer.h"
    1.16  #include "SDL_windowshaptic_c.h"
    1.17  #include "SDL_dinputhaptic_c.h"
    1.18 @@ -1180,6 +1181,8 @@
    1.19  
    1.20  #else /* !SDL_HAPTIC_DINPUT */
    1.21  
    1.22 +typedef struct DIDEVICEINSTANCE DIDEVICEINSTANCE;
    1.23 +
    1.24  int
    1.25  SDL_DINPUT_HapticInit(void)
    1.26  {