From: Günther Deschner Date: Tue, 7 Nov 2023 00:19:16 +0000 (+0100) Subject: pidl: include scompat headers and servers in s3 server template X-Git-Tag: talloc-2.4.2~641 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=82f021d43de1643d06332e152fcaf3e07e51cd1b;p=thirdparty%2Fsamba.git pidl: include scompat headers and servers in s3 server template 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 --- 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\ +"; }