From: Volker Lendecke Date: Thu, 9 Nov 2023 15:18:13 +0000 (+0100) Subject: librpc: Fix the build on FreeBSD X-Git-Tag: talloc-2.4.2~783 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f38ed3554db031d7e831baa485b1b07230f21121;p=thirdparty%2Fsamba.git librpc: Fix the build on FreeBSD ndr_wsp.h included standalone does not find struct timespec on FreeBSD Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source4/scripting/bin/gen_wsp_props.py b/source4/scripting/bin/gen_wsp_props.py index 46913846856..e33169ee50d 100755 --- a/source4/scripting/bin/gen_wsp_props.py +++ b/source4/scripting/bin/gen_wsp_props.py @@ -136,7 +136,8 @@ def getVtype(prop): return result def generateSourceCode(propMap, outputFile): - source = "#include \"bin/default/librpc/gen_ndr/ndr_wsp.h\"\n" + source = "#include \"replace.h\"\n" + source = source + "#include \"bin/default/librpc/gen_ndr/ndr_wsp.h\"\n" source = source + "#include \"librpc/wsp/wsp_util.h\"\n" count = 0 for guid in propMap.keys():