server: Add header guarding for security.h

André Hentschel nerv at dawncrow.de
Wed Mar 18 17:30:59 CDT 2015


---
 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 */
-- 
1.9.1




More information about the wine-patches mailing list