From 1e13e37e219bcf5804662143fcf85332c6954ac8 Mon Sep 17 00:00:00 2001 From: Jo Sutton Date: Thu, 18 Jan 2024 14:28:04 +1300 Subject: [PATCH] libcli/security: Include missing headers Signed-off-by: Jo Sutton Reviewed-by: Andrew Bartlett --- libcli/security/access_check.h | 2 ++ libcli/security/security_descriptor.h | 1 + 2 files changed, 3 insertions(+) diff --git a/libcli/security/access_check.h b/libcli/security/access_check.h index efe3d97f210..b8f1097c9cb 100644 --- a/libcli/security/access_check.h +++ b/libcli/security/access_check.h @@ -23,6 +23,7 @@ #ifndef _ACCESS_CHECK_H_ #define _ACCESS_CHECK_H_ +#include "lib/util/data_blob.h" #include "librpc/gen_ndr/security.h" /* Map generic access rights to object specific rights. This technique is @@ -65,6 +66,7 @@ NTSTATUS se_file_access_check(const struct security_descriptor *sd, uint32_t access_desired, uint32_t *access_granted); +struct object_tree; NTSTATUS sec_access_check_ds_implicit_owner(const struct security_descriptor *sd, const struct security_token *token, uint32_t access_desired, diff --git a/libcli/security/security_descriptor.h b/libcli/security/security_descriptor.h index 354bc17e925..6ff365fe543 100644 --- a/libcli/security/security_descriptor.h +++ b/libcli/security/security_descriptor.h @@ -21,6 +21,7 @@ #ifndef __SECURITY_DESCRIPTOR_H__ #define __SECURITY_DESCRIPTOR_H__ +#include "lib/util/data_blob.h" #include "librpc/gen_ndr/security.h" struct security_descriptor *security_descriptor_initialise(TALLOC_CTX *mem_ctx); -- 2.11.4.GIT