git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc3ffed
)
Include header with NTSTATUS, as some IDL files use it.
author
Jelmer Vernooij
<jelmer@samba.org>
Wed, 25 Feb 2009 14:21:36 +0000
(15:21 +0100)
committer
Jelmer Vernooij
<jelmer@samba.org>
Wed, 25 Feb 2009 14:21:36 +0000
(15:21 +0100)
pidl/lib/Parse/Pidl/Samba4/Header.pm
patch
|
blob
|
history
diff --git
a/pidl/lib/Parse/Pidl/Samba4/Header.pm
b/pidl/lib/Parse/Pidl/Samba4/Header.pm
index 0411466c8251bf55f7adbe97113347ac97d62390..53159579463368b518ce4ded67e1d9a9d918e8e0 100644
(file)
--- 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($_);