From c2ac923c6a5d089fe110eb3eb6cf78298b46992d Mon Sep 17 00:00:00 2001 From: Matthew DeVore Date: Fri, 7 Aug 2020 11:17:34 -0700 Subject: s3: safe_string: do not include string_wrappers.h Rather than have safe_string.h #include string_wrappers.h, make users of string_wrappers.h include it explicitly. includes.h now no longer includes string_wrappers.h transitively. Still allow includes.h to #include safe_string.h for now so that as many modules as possible get the safety checks in it. Signed-off-by: Matthew DeVore Reviewed-by: David Mulder Reviewed-by: Jeremy Allison --- testsuite/smbd/se_access_check_utils.c | 1 + 1 file changed, 1 insertion(+) (limited to 'testsuite') diff --git a/testsuite/smbd/se_access_check_utils.c b/testsuite/smbd/se_access_check_utils.c index cba2ca50125..bd20a7b2e0f 100644 --- a/testsuite/smbd/se_access_check_utils.c +++ b/testsuite/smbd/se_access_check_utils.c @@ -20,6 +20,7 @@ #include "includes.h" #include "se_access_check_utils.h" +#include "lib/util/string_wrappers.h" void char_to_sid(struct dom_sid *sid, char *sid_str) { -- cgit v1.2.1