r2223: Include autogenerated header file for idl file we are processing with
authorTim Potter <tpot@samba.org>
Sat, 4 Sep 2004 01:53:20 +0000 (01:53 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:58:32 +0000 (12:58 -0500)
--eparser.
(This used to be commit 68b10c4aeebc4aa1225aab3c8a9fc0a4d28d6455)

source4/build/pidl/pidl.pl

index 616727edc632497407e1ed771c0b9d337be0e9f3..c45b17c3c495dac6fc103eb19afe83cb1b41be04 100755 (executable)
@@ -150,6 +150,7 @@ sub process_file($)
                IdlEParser::ParseHeader($pidl, $parser);
                my($header) = dirname($output) . "/packet-dcerpc-proto.h";
                open(OUT, ">>$header") || die "can't open $header";
+               print OUT "#include \"ndr_$basename.h\"\n";
                print OUT "#include \"packet-dcerpc-proto-$basename.h\"\n";
                close(OUT);
        }