diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2009-02-25 15:21:36 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2009-02-25 15:21:36 +0100 |
commit | f71db89256b65c3700eadaf44b2727623eb831fa (patch) | |
tree | 0ee7003deed88a484ea5136cbe98d01afcfc8b41 /pidl | |
parent | fc3ffedcfe173900d65f6fa7db3a3cf2608f9f68 (diff) | |
download | samba-f71db89256b65c3700eadaf44b2727623eb831fa.tar.gz samba-f71db89256b65c3700eadaf44b2727623eb831fa.tar.xz 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.pm | 3 |
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 0411466c825..53159579463 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($_); |