WinRT build fix
authorDavid Ludwig <dludwig@pobox.com>
Wed, 15 Oct 2014 15:50:35 -0400
changeset 9166 e5a2e31d4bee
parent 9165 9cd9e1491227
child 9167 3d2c0f659ad3
WinRT build fix
src/joystick/windows/SDL_windowsjoystick.c
--- a/src/joystick/windows/SDL_windowsjoystick.c	Wed Oct 15 16:26:51 2014 +0000
+++ b/src/joystick/windows/SDL_windowsjoystick.c	Wed Oct 15 15:50:35 2014 -0400
@@ -46,7 +46,9 @@
 #include "../../events/SDL_events_c.h"
 #endif
 #include "../../core/windows/SDL_windows.h"
+#if !defined(__WINRT__)
 #include <dbt.h>
+#endif
 
 #define INITGUID /* Only set here, if set twice will cause mingw32 to break. */
 #include "SDL_windowsjoystick_c.h"