summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-11-02 13:05:43 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:44:06 +0100
commitb42cc4afd32c524aee18f46d0a779835b98b9457 (patch)
treea9ef65d92362022ef6c7df17e041d49a51713cf8 /source4
parent5dc1f49d5fa78ccf042584c1add9d6094fcaa0b4 (diff)
downloadsamba-b42cc4afd32c524aee18f46d0a779835b98b9457.tar.gz
samba-b42cc4afd32c524aee18f46d0a779835b98b9457.tar.bz2
samba-b42cc4afd32c524aee18f46d0a779835b98b9457.zip
r25805: pidl: include libndr.h as first header in ndr_foo.h
metze (This used to be commit 18fce1174199d67d822ea92e048443b60dd3dfa5)
Diffstat (limited to 'source4')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm3
1 files changed, 1 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 7941b65141..69e5b0d5a1 100644
--- a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
+++ b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
@@ -2398,8 +2398,6 @@ sub HeaderInterface($$$)
my $count = 0;
- $self->pidl_hdr(choose_header("librpc/ndr/libndr.h", "ndr.h"));
-
if ($needed->{"compression"}) {
$self->pidl(choose_header("librpc/ndr/ndr_compression.h", "ndr/compression.h"));
}
@@ -2625,6 +2623,7 @@ sub Parse($$$$)
$self->pidl_hdr("/* header auto-generated by pidl */");
$self->pidl_hdr("");
+ $self->pidl_hdr(choose_header("librpc/ndr/libndr.h", "ndr.h"));
$self->pidl_hdr("#include \"$gen_header\"") if ($gen_header);
$self->pidl_hdr("");