From 82f021d43de1643d06332e152fcaf3e07e51cd1b Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Tue, 7 Nov 2023 01:19:16 +0100 Subject: [PATCH] pidl: include scompat headers and servers in s3 server template MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Guenther Signed-off-by: Guenther Deschner Reviewed-by: Samuel Cabrero Autobuild-User(master): Günther Deschner Autobuild-Date(master): Fri Nov 17 00:39:18 UTC 2023 on atb-devel-224 --- pidl/lib/Parse/Pidl/Samba3/Template.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pidl/lib/Parse/Pidl/Samba3/Template.pm b/pidl/lib/Parse/Pidl/Samba3/Template.pm index ee64aebf365..6c1bbf3725b 100644 --- a/pidl/lib/Parse/Pidl/Samba3/Template.pm +++ b/pidl/lib/Parse/Pidl/Samba3/Template.pm @@ -47,7 +47,8 @@ sub Template($) #include \"includes.h\" #include \"ntdomain.h\" -#include \"../librpc/gen_ndr/srv_$name.h\" +#include \"librpc/gen_ndr/ndr_$name.h\" +#include \"librpc/gen_ndr/ndr_$name\_scompat.h\" "; @@ -80,6 +81,10 @@ $pad"."struct $fname *r) "; } } +$res .= +"/* include the generated boilerplate */ +#include \"librpc/gen_ndr/ndr_$name\_scompat.c\ +"; } -- 2.47.3