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 --- source3/printing/printing.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/printing/printing.c') diff --git a/source3/printing/printing.c b/source3/printing/printing.c index 3c74efb9657..2798f629bcb 100644 --- a/source3/printing/printing.c +++ b/source3/printing/printing.c @@ -37,6 +37,7 @@ #include "util_tdb.h" #include "lib/param/loadparm.h" #include "lib/util/sys_rw_data.h" +#include "lib/util/string_wrappers.h" extern userdom_struct current_user_info; -- cgit v1.2.1