Author: jelmer Date: 2006-03-22 20:01:15 +0000 (Wed, 22 Mar 2006) New Revision: 14658
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14658 Log: Include ndr_obfuscate.h when necessary Modified: branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Changeset: Modified: branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm =================================================================== --- branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm 2006-03-22 19:52:26 UTC (rev 14657) +++ branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm 2006-03-22 20:01:15 UTC (rev 14658) @@ -2314,6 +2314,10 @@ 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 @@ 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;
