media/libsydneyaudio/include-CoreServices.patch
author John Schoenick <jschoenick@mozilla.com>
Fri, 27 Jan 2012 19:38:01 -0800
changeset 35258 177e42a7014eac0fabf5d21d44c3a15dbe5a4f02
parent 28591 998d6f6e95b7a463cf16c43059f286125ee17fbb
permissions -rw-r--r--
bug 702466, imported patch fix_via_handler_table, r=sicking, a=dveditz

diff --git a/media/libsydneyaudio/src/sydney_audio_mac.c b/media/libsydneyaudio/src/sydney_audio_mac.c
--- a/media/libsydneyaudio/src/sydney_audio_mac.c
+++ b/media/libsydneyaudio/src/sydney_audio_mac.c
@@ -29,16 +29,17 @@
  * and other provisions required by the GPL or the LGPL. If you do not delete
  * the provisions above, a recipient may use your version of this file under
  * the terms of any one of the MPL, the GPL or the LGPL.
  *
  * ***** END LICENSE BLOCK ***** *
  */
 
 #include <pthread.h>
+#include <CoreServices/CoreServices.h>
 #include <AudioUnit/AudioUnit.h>
 #include "sydney_audio.h"
 
 /*
  * The Mac's audio interface is based on a "pull" I/O model, which means you
  * can't just provide a data buffer and tell the audio device to play; you must
  * register a callback and provide data as the device asks for it. To support
  * sydney audio's "write-to-play" style interface, we have to buffer up the