=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: server: Add header guarding for security.h.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Mar 19 09:59:02 CDT 2015


Module: wine
Branch: master
Commit: 5c6e2032d89df7b46b304c9c1fec393424196835
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5c6e2032d89df7b46b304c9c1fec393424196835

Author: André Hentschel <nerv at dawncrow.de>
Date:   Wed Mar 18 23:30:59 2015 +0100

server: Add header guarding for security.h.

---

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

diff --git a/server/security.h b/server/security.h
index ab5f027..855f2e7 100644
--- a/server/security.h
+++ b/server/security.h
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#ifndef __WINE_SERVER_SECURITY_H
+#define __WINE_SERVER_SECURITY_H
+
 extern const LUID SeIncreaseQuotaPrivilege;
 extern const LUID SeSecurityPrivilege;
 extern const LUID SeTakeOwnershipPrivilege;
@@ -144,3 +147,5 @@ static inline void objattr_get_name( const struct object_attributes *objattr, st
     name->len = ((objattr->name_len) / sizeof(WCHAR)) * sizeof(WCHAR);
     name->str = (const WCHAR *)objattr + (sizeof(*objattr) + objattr->sd_len) / sizeof(WCHAR);
 }
+
+#endif  /* __WINE_SERVER_SECURITY_H */




More information about the wine-cvs mailing list