https://bugs.winehq.org/show_bug.cgi?id=51860
Bug ID: 51860 Summary: Missing include for uid_t on musl-based systems Product: Wine Version: 6.19 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wineserver Assignee: wine-bugs@winehq.org Reporter: ismael@iodev.co.uk Distribution: ---
Build log: gcc -m64 -c -o server/event.o server/event.c -Iserver -Iinclude -D__WINESRC__ -Wall -pipe -fcf-protection=none \ -fno-stack-protector -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \ -Wignored-qualifiers -Winit-self -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes \ -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \ -march=native -mtune=native -m64 -pipe -fPIC -ffast-math -funroll-loops -Os In file included from server/object.h:25, from server/thread.h:24, from server/event.c:34: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp] 1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h> | ^~~~~~~ In file included from server/event.c:36: server/security.h:89:45: error: unknown type name 'uid_t'; did you mean 'luid_t'? 89 | extern const SID *security_unix_uid_to_sid( uid_t uid ); | ^~~~~ | luid_t