From b42cc4afd32c524aee18f46d0a779835b98b9457 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 2 Nov 2007 13:05:43 +0100 Subject: r25805: pidl: include libndr.h as first header in ndr_foo.h metze (This used to be commit 18fce1174199d67d822ea92e048443b60dd3dfa5) --- source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source4/pidl/lib/Parse') 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(""); -- cgit