aboutsummaryrefslogtreecommitdiffstats
path: root/src/output
diff options
context:
space:
mode:
authorSerge Ziryukin <ftrvxmtrx@gmail.com>2009-09-07 15:01:38 +0300
committerMax Kellermann <max@duempel.org>2009-09-07 15:52:32 +0200
commit761771ad245ef6103862e4cc6bb5efdac8a17a84 (patch)
treebc433622a6ee8648815d876cbe2e5cd8bc084b6a /src/output
parentf5f4a9da6b14fbb7d25bcff24d8778ce80157671 (diff)
downloadmpd-761771ad245ef6103862e4cc6bb5efdac8a17a84.tar.gz
mpd-761771ad245ef6103862e4cc6bb5efdac8a17a84.tar.xz
mpd-761771ad245ef6103862e4cc6bb5efdac8a17a84.zip
output/openal: support OpenAL plugin on Mac OS X
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"