More patching to compile...
authorRyan C. Gordon <icculus@icculus.org>
Thu, 28 May 2015 01:16:55 -0400
changeset 966162a04df5afe1
parent 9660 b7188b6a6f2a
child 9662 932e57cf5648
More patching to compile...
src/haptic/windows/SDL_dinputhaptic.c
src/haptic/windows/SDL_xinputhaptic.c
     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  {
     2.1 --- a/src/haptic/windows/SDL_xinputhaptic.c	Thu May 28 01:08:33 2015 -0400
     2.2 +++ b/src/haptic/windows/SDL_xinputhaptic.c	Thu May 28 01:16:55 2015 -0400
     2.3 @@ -20,11 +20,12 @@
     2.4  */
     2.5  #include "../../SDL_internal.h"
     2.6  
     2.7 +#include "SDL_error.h"
     2.8 +#include "SDL_haptic.h"
     2.9 +
    2.10  #if SDL_HAPTIC_XINPUT
    2.11  
    2.12  #include "SDL_assert.h"
    2.13 -#include "SDL_error.h"
    2.14 -#include "SDL_haptic.h"
    2.15  #include "SDL_hints.h"
    2.16  #include "SDL_timer.h"
    2.17  #include "SDL_windowshaptic_c.h"