summaryrefslogtreecommitdiff
path: root/source3/lib/substitute.c
diff options
context:
space:
mode:
authorMatthew DeVore <matvore@google.com>2020-08-07 11:17:34 -0700
committerJeremy Allison <jra@samba.org>2020-08-28 00:56:34 +0000
commitc2ac923c6a5d089fe110eb3eb6cf78298b46992d (patch)
treee5e98fb3954d0dbf5b34140aab19ad7f576d7287 /source3/lib/substitute.c
parent1fde7db3bc51b1f9a13388315b09ab3ce7f20b80 (diff)
downloadsamba-c2ac923c6a5d089fe110eb3eb6cf78298b46992d.tar.gz
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 <matvore@google.com> Reviewed-by: David Mulder <dmulder@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/lib/substitute.c')
-rw-r--r--source3/lib/substitute.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/substitute.c b/source3/lib/substitute.c
index 833af10b6f0..e359ef89494 100644
--- a/source3/lib/substitute.c
+++ b/source3/lib/substitute.c
@@ -23,6 +23,7 @@
#include "system/passwd.h"
#include "secrets.h"
#include "auth.h"
+#include "lib/util/string_wrappers.h"
/* Max DNS name is 253 + '\0' */
#define MACHINE_NAME_SIZE 254