https://bugs.winehq.org/show_bug.cgi?id=41705
--- Comment #2 from Bruno Jesus 00cpxxx@gmail.com ---
From winsock.h (WS prefix removed):
404 typedef struct sockaddr 405 { 406 u_short sa_family; 407 char sa_data[14]; 408 } SOCKADDR, *PSOCKADDR, *LPSOCKADDR;
From dpaddr.h:
30 typedef struct sockaddr SOCKADDR;
The definitions should be compatible. Could this be related to older compilers or a missing compiler option?