From: Fotios Valasiadis <fvalasiad(a)gmail.com> Not doing so after commit 41cc117b broke musl libc compatibility. Tested the patch in my void 64bit musl install and it compiled properly. Signed-off-by: Fotios Valasiadis <fvalasiad(a)gmail.com> --- server/sock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/sock.c b/server/sock.c index 550fe61e477..591876aab33 100644 --- a/server/sock.c +++ b/server/sock.c @@ -1880,7 +1880,7 @@ static int init_socket( struct sock *sock, int family, int type, int protocol ) #ifdef SOL_IPX setsockopt( sockfd, SOL_IPX, IPX_TYPE, &ipx_type, sizeof(ipx_type) ); -#else +#elif defined(SO_DEFAULT_HEADERS) struct ipx val; /* Should we retrieve val using a getsockopt call and then * set the modified one? */ -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/3403