summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse
diff options
context:
space:
mode:
Diffstat (limited to 'source4/pidl/lib/Parse')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
index e7f8c85a90..bc7e4ce545 100644
--- a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
+++ b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
@@ -2314,6 +2314,10 @@ sub ParseInterface($$)
if ($needed->{"compression"}) {
pidl choose_header("librpc/ndr/ndr_compression.h", "ndr/compression.h");
}
+
+ if ($needed->{"obfuscate"}) {
+ pidl "#include \"ndr_obfuscate.h\"";
+ }
HeaderInterface($interface);
@@ -2432,6 +2436,9 @@ sub NeededTypedef($$)
if (has_property($e, "compression")) {
$needed->{"compression"} = 1;
}
+ if (has_property($e, "obfuscation")) {
+ $needed->{"obfuscate"} = 1;
+ }
if ($needed->{"pull_$t->{NAME}"} and
not defined($needed->{"pull_$e->{TYPE}"})) {
$needed->{"pull_$e->{TYPE}"} = 1;