https://bugs.winehq.org/show_bug.cgi?id=42835
--- Comment #6 from Owen Rudge owen@owenrudge.net --- https://source.winehq.org/patches/data/132856 should fix that, tested against gcc 4.4.7. (It appears the typedef redefinition is valid in C11, which newer versions of gcc default to, and this also matches what the Platform SDK does.)