These are needed for musl/POSIX. --- a/dlls/winebus.sys/bus_udev.c 2021-10-23 15:38:33.225064731 +0200 +++ b/dlls/winebus.sys/bus_udev.c 2021-10-23 15:39:06.662064765 +0200 @@ -29,7 +29,8 @@ #include <stdlib.h> #include <stdio.h> #include <stdint.h> -#include <sys/types.h> +#include <sys/types.h> +#include <limits.h> #include <dirent.h> #ifdef HAVE_UNISTD_H # include <unistd.h> --- a/server/security.h 2022-01-29 08:23:43.759508270 +0100 +++ b/server/security.h 2022-01-29 08:24:07.976443565 +0100 @@ -22,6 +22,7 @@ #define __WINE_SERVER_SECURITY_H #include <sys/types.h> +#include <unistd.h> extern const struct luid SeIncreaseQuotaPrivilege; extern const struct luid SeSecurityPrivilege;