From f71db89256b65c3700eadaf44b2727623eb831fa Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 25 Feb 2009 15:21:36 +0100 Subject: Include header with NTSTATUS, as some IDL files use it. --- pidl/lib/Parse/Pidl/Samba4/Header.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pidl/lib/Parse') diff --git a/pidl/lib/Parse/Pidl/Samba4/Header.pm b/pidl/lib/Parse/Pidl/Samba4/Header.pm index 0411466c82..5315957946 100644 --- a/pidl/lib/Parse/Pidl/Samba4/Header.pm +++ b/pidl/lib/Parse/Pidl/Samba4/Header.pm @@ -407,6 +407,9 @@ sub Parse($) } pidl "#include \n"; pidl "\n"; + # FIXME: Include this only if NTSTATUS was actually used + pidl choose_header("libcli/util/ntstatus.h", "core/ntstatus.h") . "\n"; + pidl "\n"; foreach (@{$ndr}) { ($_->{TYPE} eq "CPP_QUOTE") && HeaderQuote($_); -- cgit