From 423e5726d2d066e6504de4aca5985c90999d1be3 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 6 Oct 2021 09:16:32 +0200 Subject: [PATCH] libcli: Avoid an includes.h Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- libcli/security/privileges.c | 4 +++- libcli/security/privileges.h | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libcli/security/privileges.c b/libcli/security/privileges.c index d2731c3dd05..c989dedf74b 100644 --- a/libcli/security/privileges.c +++ b/libcli/security/privileges.c @@ -32,10 +32,12 @@ * some extra functions to hide privs array from lib/privileges.c */ -#include "includes.h" +#include "replace.h" #include "libcli/security/privileges.h" #include "libcli/security/privileges_private.h" #include "librpc/gen_ndr/security.h" +#include "lib/util/samba_util.h" +#include "lib/util/debug.h" /* The use of strcasecmp here is safe, all the comparison strings are ASCII */ #undef strcasecmp diff --git a/libcli/security/privileges.h b/libcli/security/privileges.h index eb3ab5e784d..c8a8dadd630 100644 --- a/libcli/security/privileges.h +++ b/libcli/security/privileges.h @@ -25,6 +25,8 @@ #ifndef PRIVILEGES_H #define PRIVILEGES_H +#include "lib/util/data_blob.h" +#include "lib/util/time.h" #include "../librpc/gen_ndr/lsa.h" #include "../librpc/gen_ndr/security.h"