http://bugs.winehq.org/show_bug.cgi?id=3912
Summary: incorrect RGBQUAD struct declaration causes link error Product: Wine Version: 0.9 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-misc AssignedTo: wine-bugs@winehq.org ReportedBy: djankov@syncad.com
In wingdi.h struct RGBQUAD is declared incorrectly, the declaration should be exact as in wingdi.h on Windows. The current declaration causes a link error when linking against code compiled against Windows-compatible RGBQUAD declaration, such as FreeImage library. The struct should have struct tagRGBQUAD { ... } RGBQUAD; like on Windows, but in Wine it is missing the tag part.