Ismael Luceno : server: Fix missing include for uid_t.

Alexandre Julliard julliard at winehq.org
Tue Apr 12 13:38:05 CDT 2022


Module: wine
Branch: oldstable
Commit: 4517c49ade025cc4b0c27b4967ce19738ad7ca47
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=4517c49ade025cc4b0c27b4967ce19738ad7ca47

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>
(cherry picked from commit c35df50c307789a177d07e6c74b0be830dc59f1a)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>

---

 server/security.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/server/security.h b/server/security.h
index 08bdb8de805..3b00553d199 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