Ismael Luceno : server: Fix missing include for uid_t.

Alexandre Julliard julliard at winehq.org
Mon Nov 15 16:01:27 CST 2021


Module: wine
Branch: master
Commit: c35df50c307789a177d07e6c74b0be830dc59f1a
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=c35df50c307789a177d07e6c74b0be830dc59f1a

Author: Ismael Luceno <ismael at 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 at iodev.co.uk>
Signed-off-by: Alexandre Julliard <julliard at 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;




More information about the wine-cvs mailing list