aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrik Weiskircher <pat@icore.at>2009-09-20 23:30:37 +0200
committerMax Kellermann <max@duempel.org>2009-09-20 23:30:37 +0200
commit32f212cb860d5cd91e952e4802c151101cc9c8c0 (patch)
tree107e32953628ec3dc32a45d93193c23da1684120
parentfdc479676f7f39d33287111900f0862ddb7797af (diff)
downloadmpd-32f212cb860d5cd91e952e4802c151101cc9c8c0.tar.gz
mpd-32f212cb860d5cd91e952e4802c151101cc9c8c0.tar.xz
mpd-32f212cb860d5cd91e952e4802c151101cc9c8c0.zip
output/osx: fix the OS X 10.6 build
Include CoreServices/CoreServices.h.
-rw-r--r--NEWS2
-rw-r--r--configure.ac6
-rw-r--r--src/output/osx_plugin.c1
3 files changed, 3 insertions, 6 deletions
diff --git a/NEWS b/NEWS
index 8f8aa3de6..eb1e13ec4 100644
--- a/NEWS
+++ b/NEWS
@@ -39,6 +39,8 @@ ver 0.16 (20??/??/??)
ver 0.15.4 (2009/??/??)
* decoders:
- vorbis: revert "faster tag scanning with ov_test_callback()"
+* output:
+ - osx: fix the OS X 10.6 build
ver 0.15.3 (2009/08/29)
diff --git a/configure.ac b/configure.ac
index e221855ca..f5d84bb6d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -748,12 +748,6 @@ case "$host_os" in
enable_osx=yes ;;
esac
-case "$host_os" in
- darwin10*)
- CFLAGS="$CFLAGS -isysroot /Developer/SDKs/MacOSX10.5.sdk"
- ;;
-esac
-
AM_CONDITIONAL(HAVE_OSX, test x$enable_osx = xyes)
AC_ARG_ENABLE(shout,
diff --git a/src/output/osx_plugin.c b/src/output/osx_plugin.c
index 24db1f5b7..04173bf79 100644
--- a/src/output/osx_plugin.c
+++ b/src/output/osx_plugin.c
@@ -21,6 +21,7 @@
#include <glib.h>
#include <AudioUnit/AudioUnit.h>
+#include <CoreServices/CoreServices.h>
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN "osx"