summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse/Pidl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-18 22:16:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:58:44 -0500
commitfb67b0d99a2744272767d88f48416154d7150443 (patch)
treeba22f584611f415e118ce1f34fb28185d3882e36 /source4/pidl/lib/Parse/Pidl
parentf200d553fb30abe75314c5be8181da2b0dc0b57d (diff)
downloadsamba-fb67b0d99a2744272767d88f48416154d7150443.tar.gz
samba-fb67b0d99a2744272767d88f48416154d7150443.tar.bz2
samba-fb67b0d99a2744272767d88f48416154d7150443.zip
r14550: Fix tests
(This used to be commit 765fd852e789371f6b6361acd7603f8056ac14a9)
Diffstat (limited to 'source4/pidl/lib/Parse/Pidl')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
index f4672e93e9..e7f8c85a90 100644
--- a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
+++ b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
@@ -2358,7 +2358,7 @@ sub Parse($$$)
$res_hdr = "";
pidl_hdr "/* header auto-generated by pidl */";
pidl_hdr "";
- pidl_hdr "#include \"$gen_header\"";
+ pidl_hdr "#include \"$gen_header\"" if ($gen_header);
pidl_hdr "";
pidl "/* parser auto-generated by pidl */";
@@ -2376,7 +2376,7 @@ sub Parse($$$)
pidl choose_header("libcli/util/nterr.h", "core/nterr.h");
pidl choose_header("librpc/gen_ndr/ndr_misc.h", "gen_ndr/ndr_misc.h");
pidl choose_header("librpc/gen_ndr/ndr_dcerpc.h", "gen_ndr/ndr_dcerpc.h");
- pidl "#include \"$ndr_header\"";
+ pidl "#include \"$ndr_header\"" if ($ndr_header);
pidl choose_header("librpc/rpc/dcerpc.h", "dcerpc.h"); #FIXME: This shouldn't be here!
pidl "";