--- dlls/winecoreaudio.drv/audio.c.orig	2010-07-27 14:56:49.000000000 -0500
+++ dlls/winecoreaudio.drv/audio.c	2010-09-16 12:33:09.000000000 -0500
@@ -56,7 +56,6 @@
 #include "wine/unicode.h"
 #include "wine/library.h"
 #include "wine/debug.h"
-#include "wine/list.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(wave);
 
@@ -64,6 +63,12 @@
 
 WINE_DECLARE_DEBUG_CHANNEL(coreaudio);
 
+/* This needs to be after CoreAudio/CoreAudio.h because
+ * CoreAudio includes sys/queue.h which has namespace conflicts
+ * with wine/list.h
+ */
+#include "wine/list.h"
+
 /*
     Due to AudioUnit headers conflict define some needed types.
 */
