From: Volker Lendecke Date: Fri, 23 Aug 2024 13:53:51 +0000 (+0200) Subject: lib: Add libcli/util/ntstatus.h in a few headers where it's needed X-Git-Tag: tdb-1.4.13~1289 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1602b0120bae2296fa8edca8cbd35dacb41001c8;p=thirdparty%2Fsamba.git lib: Add libcli/util/ntstatus.h in a few headers where it's needed Signed-off-by: Volker Lendecke Reviewed-by: Jennifer Sutton --- 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;