https://bugs.winehq.org/show_bug.cgi?id=50653
--- Comment #6 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to Dmitry Timoshkov from comment #5)
(In reply to Jacek Caban from comment #4)
Created attachment 69365 [details] fix
Yes, that explains everything. Does the attached patch help?
The patch fixes the build. Thanks for the quick fix!
Another version of the patch https://source.winehq.org/patches/data/199773 also works.