diff options
Diffstat (limited to 'src/audio/xaudio2/SDL_xaudio2.c')
-rw-r--r-- | src/audio/xaudio2/SDL_xaudio2.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/audio/xaudio2/SDL_xaudio2.c b/src/audio/xaudio2/SDL_xaudio2.c index 5287586e..a1230e4d 100644 --- a/src/audio/xaudio2/SDL_xaudio2.c +++ b/src/audio/xaudio2/SDL_xaudio2.c @@ -19,14 +19,15 @@ 3. This notice may not be removed or altered from any source distribution. */ #include "SDL_config.h" + +#if SDL_AUDIO_DRIVER_XAUDIO2 + #include "../../core/windows/SDL_windows.h" #include "SDL_audio.h" #include "../SDL_audio_c.h" #include "../SDL_sysaudio.h" #include "SDL_assert.h" -#if SDL_AUDIO_DRIVER_XAUDIO2 - #include <dxsdkver.h> /* XAudio2 exists as of the March 2008 DirectX SDK */ #if (!defined(_DXSDK_BUILD_MAJOR) || (_DXSDK_BUILD_MAJOR < 1284)) # warning Your DirectX SDK is too old. Disabling XAudio2 support. |