diff --git a/desmume/src/frontend/windows/snddx.cpp b/desmume/src/frontend/windows/snddx.cpp index 7a5a14d1e..fcfe08968 100644 --- a/desmume/src/frontend/windows/snddx.cpp +++ b/desmume/src/frontend/windows/snddx.cpp @@ -21,15 +21,11 @@ #include #include #include -#include "directx/dsound.h" - #ifdef __MINGW32__ -// I have to do this because for some reason because the dxerr8.h header is fubared -const char* __stdcall DXGetErrorString8A(HRESULT hr); -#define DXGetErrorString8 DXGetErrorString8A -const char* __stdcall DXGetErrorDescription8A(HRESULT hr); -#define DXGetErrorDescription8 DXGetErrorDescription8A +#include +#include #else +#include "directx/dsound.h" #include "directx/dxerr8.h" #endif