diff options
Diffstat (limited to 'source4/build/pidl/pidl.pl')
-rwxr-xr-x | source4/build/pidl/pidl.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/build/pidl/pidl.pl b/source4/build/pidl/pidl.pl index 1c122932ba..cebd545297 100755 --- a/source4/build/pidl/pidl.pl +++ b/source4/build/pidl/pidl.pl @@ -146,6 +146,12 @@ sub process_file($) if ($opt_eparser) { my($parser) = dirname($output) . "/packet-dcerpc-$basename.c"; IdlEParser::Parse($pidl, $parser); + $parser = dirname($output) . "/packet-dcerpc-proto-$basename.h"; + IdlEParser::ParseHeader($pidl, $parser); + my($header) = dirname($output) . "/packet-dcerpc-proto.h"; + open(OUT, ">>$header") || die "can't open $header"; + print OUT "#include \"packet-dcerpc-proto-$basename.h\"\n"; + close(OUT); } if ($opt_diff) { |