summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/qal.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/client/qal.h b/src/client/qal.h
index 8592c081..7747d987 100644
--- a/src/client/qal.h
+++ b/src/client/qal.h
@@ -38,8 +38,14 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "../AL/al.h"
#include "../AL/alc.h"
#else
-#include <AL/al.h>
-#include <AL/alc.h>
+#ifdef _MSC_VER
+ // MSVC users must install the OpenAL SDK which doesn't use the AL/*.h scheme.
+ #include <al.h>
+ #include <alc.h>
+#else
+ #include <AL/al.h>
+ #include <AL/alc.h>
+#endif
#endif
#if USE_OPENAL_DLOPEN