diff --git a/src/SDL_log.c b/src/SDL_log.c index 4ad5c4273..bc9f954fb 100644 --- a/src/SDL_log.c +++ b/src/SDL_log.c @@ -20,7 +20,7 @@ */ #include "SDL_config.h" -#if defined(__WIN32__) +#if defined(__WIN32__) || defined(__WINRT__) #include "core/windows/SDL_windows.h" #endif diff --git a/src/atomic/SDL_spinlock.c b/src/atomic/SDL_spinlock.c index ac9b61e87..ac78729c7 100644 --- a/src/atomic/SDL_spinlock.c +++ b/src/atomic/SDL_spinlock.c @@ -20,7 +20,7 @@ */ #include "SDL_config.h" -#ifdef __WIN32__ +#if defined(__WIN32__) || defined(__WINRT__) #include "../core/windows/SDL_windows.h" #endif