]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
pidl: include scompat headers and servers in s3 server template
authorGünther Deschner <gd@samba.org>
Tue, 7 Nov 2023 00:19:16 +0000 (01:19 +0100)
committerGünther Deschner <gd@samba.org>
Fri, 17 Nov 2023 00:39:18 +0000 (00:39 +0000)
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Fri Nov 17 00:39:18 UTC 2023 on atb-devel-224

pidl/lib/Parse/Pidl/Samba3/Template.pm

index ee64aebf365bcfd14e6204a8aa1fe5afc4871cce..6c1bbf3725bf7b5540a1ccd4dd76df6445d484a9 100644 (file)
@@ -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\
+";
 }