Module: wine Branch: master Commit: c35df50c307789a177d07e6c74b0be830dc59f1a URL: https://source.winehq.org/git/wine.git/?a=commit;h=c35df50c307789a177d07e6c7...
Author: Ismael Luceno ismael@iodev.co.uk Date: Fri Nov 12 19:39:35 2021 +0100
server: Fix missing include for uid_t.
Explicitly include <sys/types.h> to make uid_t available to users of server/security.h.
This is a problem on musl, and possibly other non-glibc systems.
Signed-off-by: Ismael Luceno ismael@iodev.co.uk Signed-off-by: Alexandre Julliard julliard@winehq.org
---
server/security.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/server/security.h b/server/security.h index 5388bc9c419..2f5c2b0c694 100644 --- a/server/security.h +++ b/server/security.h @@ -21,6 +21,8 @@ #ifndef __WINE_SERVER_SECURITY_H #define __WINE_SERVER_SECURITY_H
+#include <sys/types.h> + extern const LUID SeIncreaseQuotaPrivilege; extern const LUID SeSecurityPrivilege; extern const LUID SeTakeOwnershipPrivilege;