https://bugs.winehq.org/show_bug.cgi?id=50622
--- Comment #1 from Hans Leidekker hans@meelstraat.net --- We're using Windows headers where we should be using Unix headers. The problem with including both is that there will be many conflicts. We could solve that with preprocessor tricks like we do for winsock, but that isn't pretty.
Perhaps we can avoid that by splitting this dll in Unix and PE parts, if we want to go that way?