https://bugs.winehq.org/show_bug.cgi?id=50525
Bug ID: 50525 Summary: ws2 _32 fails to build on macOS Product: Wine Version: unspecified Hardware: x86-64 OS: Mac OS X Status: NEW Keywords: regression Severity: normal Priority: P2 Component: winsock Assignee: wine-bugs@winehq.org Reporter: gijsvrm@gmail.com CC: pgofman@codeweavers.com Regression SHA1: 03fcb54c0e852b93b94bd11225237af84cdc3697
/Users/gverm/Desktop/Work/wine/dlls/ws2_32/socket.c:4542:17: error: no member named 'ifr_ifindex' in 'struct ifreq' if_info.ifr_ifindex = table->table[interface_count].dwIndex; ~~~~~~~ ^ /Users/gverm/Desktop/Work/wine/dlls/ws2_32/socket.c:4543:23: error: use of undeclared identifier 'SIOCGIFNAME' if (ioctl(fd, SIOCGIFNAME, &if_info) < 0) ^ /Users/gverm/Desktop/Work/wine/dlls/ws2_32/socket.c:4545:77: error: no member named 'ifr_ifindex' in 'struct ifreq' ERR("Error obtaining interface name for ifindex %d.\n", if_info.ifr_ifindex); ~~~~~~~ ^ I am running macOS 10.14 Mojave and compiling wine with mingw and the macOS 10.13 SDK.