More patching to compile...

This commit is contained in:
Ryan C. Gordon 2015-05-28 01:16:55 -04:00
parent e90f87bab0
commit cae4fd7fb2
2 changed files with 8 additions and 4 deletions

View File

@ -20,11 +20,12 @@
*/ */
#include "../../SDL_internal.h" #include "../../SDL_internal.h"
#include "SDL_error.h"
#include "SDL_haptic.h"
#if SDL_HAPTIC_DINPUT #if SDL_HAPTIC_DINPUT
#include "SDL_error.h"
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
#include "SDL_haptic.h"
#include "SDL_timer.h" #include "SDL_timer.h"
#include "SDL_windowshaptic_c.h" #include "SDL_windowshaptic_c.h"
#include "SDL_dinputhaptic_c.h" #include "SDL_dinputhaptic_c.h"
@ -1180,6 +1181,8 @@ SDL_DINPUT_HapticStopAll(SDL_Haptic * haptic)
#else /* !SDL_HAPTIC_DINPUT */ #else /* !SDL_HAPTIC_DINPUT */
typedef struct DIDEVICEINSTANCE DIDEVICEINSTANCE;
int int
SDL_DINPUT_HapticInit(void) SDL_DINPUT_HapticInit(void)
{ {

View File

@ -20,11 +20,12 @@
*/ */
#include "../../SDL_internal.h" #include "../../SDL_internal.h"
#include "SDL_error.h"
#include "SDL_haptic.h"
#if SDL_HAPTIC_XINPUT #if SDL_HAPTIC_XINPUT
#include "SDL_assert.h" #include "SDL_assert.h"
#include "SDL_error.h"
#include "SDL_haptic.h"
#include "SDL_hints.h" #include "SDL_hints.h"
#include "SDL_timer.h" #include "SDL_timer.h"
#include "SDL_windowshaptic_c.h" #include "SDL_windowshaptic_c.h"