From b180ca8cd353366e686be030b9369acd677e77e2 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 22 Apr 2021 15:44:10 +0200 Subject: [PATCH] param: Enable including source3/param/param_proto.h without vfs.h Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- script/generate_param.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/script/generate_param.py b/script/generate_param.py index c29a29df57e..4a4f7fec878 100644 --- a/script/generate_param.py +++ b/script/generate_param.py @@ -173,6 +173,8 @@ def make_s3_param_proto(path_in, path_out): header = get_header(path_out) file_out.write("#ifndef %s\n" % header) file_out.write("#define %s\n\n" % header) + file_out.write("struct share_params;\n") + file_out.write("struct loadparm_substitution;\n") for parameter in iterate_all(path_in): # filter out parameteric options if ':' in parameter['name']: