summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/pidl/header.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/build/pidl/header.pm b/source4/build/pidl/header.pm
index 803916a79c..b192efb699 100644
--- a/source4/build/pidl/header.pm
+++ b/source4/build/pidl/header.pm
@@ -385,6 +385,11 @@ sub HeaderInterface($)
}
}
+ # Object interfaces use ORPC
+ if (util::has_property($interface, "object")) {
+ pidl "#include \"librpc/gen_ndr/ndr_orpc.h\"\n";
+ }
+
if (defined $interface->{PROPERTIES}->{uuid}) {
my $name = uc $interface->{NAME};
pidl "#define DCERPC_$name\_UUID " .