From 1b341f5875224b1e7f774b4839295804685b94a1 Mon Sep 17 00:00:00 2001 From: David Ludwig Date: Wed, 15 Oct 2014 15:50:35 -0400 Subject: [PATCH] WinRT build fix --- src/joystick/windows/SDL_windowsjoystick.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/joystick/windows/SDL_windowsjoystick.c b/src/joystick/windows/SDL_windowsjoystick.c index c7fa068df..d649edc15 100644 --- a/src/joystick/windows/SDL_windowsjoystick.c +++ b/src/joystick/windows/SDL_windowsjoystick.c @@ -46,7 +46,9 @@ #include "../../events/SDL_events_c.h" #endif #include "../../core/windows/SDL_windows.h" +#if !defined(__WINRT__) #include +#endif #define INITGUID /* Only set here, if set twice will cause mingw32 to break. */ #include "SDL_windowsjoystick_c.h"