osx_write: Make it compile on Snow Leopard.
authorAndre Noll <maan@systemlinux.org>
Wed, 9 Dec 2009 17:00:56 +0000 (18:00 +0100)
committerAndre Noll <maan@systemlinux.org>
Wed, 9 Dec 2009 17:00:56 +0000 (18:00 +0100)
osx_write.c

index aa95d38..c404288 100644 (file)
@@ -13,7 +13,7 @@
 
 #include <sys/types.h>
 #include <dirent.h>
-#include <CoreAudio/CoreAudio.h>
+
 #include "para.h"
 #include "fd.h"
 #include "string.h"
 #include "osx_write.cmdline.h"
 #include "error.h"
 
-
-#include <CoreAudio/CoreAudio.h>
+#include <CoreServices/CoreServices.h>
 #include <AudioUnit/AudioUnit.h>
-#include <AudioToolbox/DefaultAudioOutput.h>
+#include <AudioToolbox/AudioToolbox.h>
 
 /** describes one input buffer for the osx writer */
 struct osx_buffer {