https://bugs.winehq.org/show_bug.cgi?id=42547
--- Comment #2 from Nathan version2013@openmailbox.org --- The source was from: https://sourceforge.net/projects/wine/files/Source/
The two patches I mentioned were required to get to the point in the compilation where it failed, thus this bug report.
The error is possibly because of old headers. The distro is an older version of Puppy Linux.
I did not try: make clean && make.