From 1602b0120bae2296fa8edca8cbd35dacb41001c8 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 23 Aug 2024 15:53:51 +0200 Subject: [PATCH] lib: Add libcli/util/ntstatus.h in a few headers where it's needed Signed-off-by: Volker Lendecke Reviewed-by: Jennifer Sutton --- auth/credentials/credentials.h | 1 + libcli/security/dom_sid.h | 1 + source3/include/messages.h | 1 + source3/locking/share_mode_lock.h | 1 + 4 files changed, 4 insertions(+) diff --git a/auth/credentials/credentials.h b/auth/credentials/credentials.h index 8a6f26be31c..4a39899e751 100644 --- a/auth/credentials/credentials.h +++ b/auth/credentials/credentials.h @@ -25,6 +25,7 @@ #include "../lib/util/time.h" #include "../lib/util/data_blob.h" #include "librpc/gen_ndr/misc.h" +#include "libcli/util/ntstatus.h" struct cli_credentials; struct ccache_container; diff --git a/libcli/security/dom_sid.h b/libcli/security/dom_sid.h index 5e1c5d90958..84e20f4aaa5 100644 --- a/libcli/security/dom_sid.h +++ b/libcli/security/dom_sid.h @@ -26,6 +26,7 @@ #include "replace.h" #include #include "lib/util/data_blob.h" +#include "libcli/util/ntstatus.h" #include "librpc/gen_ndr/security.h" /* Some well-known SIDs */ diff --git a/source3/include/messages.h b/source3/include/messages.h index 23c90f73e25..95ba262ca25 100644 --- a/source3/include/messages.h +++ b/source3/include/messages.h @@ -23,6 +23,7 @@ #include "replace.h" #include +#include "libcli/util/ntstatus.h" /* change the message version with any incompatible changes in the protocol */ #define MESSAGE_VERSION 2 diff --git a/source3/locking/share_mode_lock.h b/source3/locking/share_mode_lock.h index eb74144a77d..75ebdf937fe 100644 --- a/source3/locking/share_mode_lock.h +++ b/source3/locking/share_mode_lock.h @@ -20,6 +20,7 @@ #include #include "librpc/gen_ndr/file_id.h" #include "lib/util/time.h" +#include "libcli/util/ntstatus.h" struct share_mode_data; struct share_mode_lock; -- 2.47.3