svn commit: samba r25805 - in branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR: .

metze at samba.org metze at samba.org
Fri Nov 2 13:05:43 GMT 2007


Author: metze
Date: 2007-11-02 13:05:43 +0000 (Fri, 02 Nov 2007)
New Revision: 25805

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25805

Log:
pidl: include libndr.h as first header in ndr_foo.h

metze

Modified:
   branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm


Changeset:
Modified: branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
===================================================================
--- branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm	2007-11-02 13:02:25 UTC (rev 25804)
+++ branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm	2007-11-02 13:05:43 UTC (rev 25805)
@@ -2398,8 +2398,6 @@
 
 	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 @@
 
 	$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("");
 



More information about the samba-cvs mailing list