summaryrefslogtreecommitdiff
path: root/pidl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-02-25 15:21:36 +0100
committerJelmer Vernooij <jelmer@samba.org>2009-02-25 15:21:36 +0100
commitf71db89256b65c3700eadaf44b2727623eb831fa (patch)
tree0ee7003deed88a484ea5136cbe98d01afcfc8b41 /pidl
parentfc3ffedcfe173900d65f6fa7db3a3cf2608f9f68 (diff)
downloadsamba-f71db89256b65c3700eadaf44b2727623eb831fa.tar.gz
samba-f71db89256b65c3700eadaf44b2727623eb831fa.tar.bz2
samba-f71db89256b65c3700eadaf44b2727623eb831fa.zip
Include header with NTSTATUS, as some IDL files use it.
Diffstat (limited to 'pidl')
-rw-r--r--pidl/lib/Parse/Pidl/Samba4/Header.pm3
1 files changed, 3 insertions, 0 deletions
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 <stdint.h>\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($_);