From 5da315337e90707792bef21864ff88a9670e1dac Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Sun, 31 Jan 2010 23:46:50 +0000 Subject: [PATCH] Fix minor issue with inclusion of OpenAL headers git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4988 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/AudioCommon/Src/OpenALStream.h | 4 ++-- Source/Core/AudioCommon/Src/aldlist.cpp | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Source/Core/AudioCommon/Src/OpenALStream.h b/Source/Core/AudioCommon/Src/OpenALStream.h index 8aebf32068..4f4f8a8891 100644 --- a/Source/Core/AudioCommon/Src/OpenALStream.h +++ b/Source/Core/AudioCommon/Src/OpenALStream.h @@ -30,8 +30,8 @@ #include "openal/al.h" #include "openal/alc.h" #else -#include "AL/al.h" -#include "AL/alc.h" +#include +#include #endif // WIN32 // 16 bit Stereo #define SFX_MAX_SOURCE 1 diff --git a/Source/Core/AudioCommon/Src/aldlist.cpp b/Source/Core/AudioCommon/Src/aldlist.cpp index 34e9f778d9..22c3fb7c50 100644 --- a/Source/Core/AudioCommon/Src/aldlist.cpp +++ b/Source/Core/AudioCommon/Src/aldlist.cpp @@ -24,8 +24,16 @@ #include "Common.h" #include "aldlist.h" +#ifdef _WIN32 #include "../../../../Externals/OpenAL/include/al.h" #include "../../../../Externals/OpenAL/include/alc.h" +#elif defined(__APPLE__) +#include "openal/al.h" +#include "openal/alc.h" +#else +#include +#include +#endif // WIN32 /*