aboutsummaryrefslogtreecommitdiffstats
path: root/src/output
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/output/openal_plugin.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/output/openal_plugin.c b/src/output/openal_plugin.c
index e60e378d1..92ee82ef3 100644
--- a/src/output/openal_plugin.c
+++ b/src/output/openal_plugin.c
@@ -19,11 +19,17 @@
#include "../output_api.h"
#include "../timer.h"
+#include "config.h"
#include <glib.h>
+#ifndef HAVE_OSX
#include <AL/al.h>
#include <AL/alc.h>
+#else
+#include <OpenAL/al.h>
+#include <OpenAL/alc.h>
+#endif
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN "openal"