http://bugs.winehq.org/show_bug.cgi?id=21358
Summary: winecoreaudio compilation failure due to conflicts with sys/queue.h Product: Wine Version: 1.1.36 Platform: x86-64 URL: http://trac.macports.org/ticket/22342 OS/Version: Mac OS X 10.6 Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: wine-2010@ryandesign.com
Hello, I maintain Wine in MacPorts and one of our users, our resident X11 expert Jeremy Huddleston, has reported that winecoreaudio doesn't compile right on his system, and he believes that to fix this, the #include for "wine/list.h" in dlls/winecoreaudio.drv/audio.c should occur after, not before, the #include for <CoreAudio/CoreAudio.h>.
He suggests a fix like this be used:
http://trac.macports.org/browser/trunk/dports/x11/wine-crossover-games/files...
He also suggests that you should rename your macros (e.g. LIST_ENTRY, LIST_INIT, SLIST_ENTRY) so they do not conflict with OS-defined macros on Mac OS X and *BSD (in /usr/include/sys/queue.h). See more information in the MacPorts bug report.
http://trac.macports.org/ticket/22342