https://bugs.winehq.org/show_bug.cgi?id=40317
--- Comment #24 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- (In reply to Vincent Povirk from comment #22)
Apparently, in wheezy's mingw-w64, inet_pton is in the library but not declared in the headers. Probably the correct fix is to add a configure check to Mono for the declaration. Until then, I don't have a work-around.
I got around the inet_pton error by forcing the check to fail, and ran into other issues and gave up. The other issues were about packages version. Wheezy is getting old...
You can try the official build at https://dl.winehq.org/wine/wine-mono/4.6.2/
Thanks. This bug is fixed for me.