summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse/Pidl/Samba4/NDR
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-04-02 16:26:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:59:44 -0500
commit1b22141c874ff704ad4fe048d4464168495c36b6 (patch)
tree795242c9d344b414381f93bbdb3e4facc853c017 /source4/pidl/lib/Parse/Pidl/Samba4/NDR
parent8e738cc6d421dfe9abf4fb798f2efa9028255edf (diff)
downloadsamba-1b22141c874ff704ad4fe048d4464168495c36b6.tar.gz
samba-1b22141c874ff704ad4fe048d4464168495c36b6.tar.bz2
samba-1b22141c874ff704ad4fe048d4464168495c36b6.zip
r14867: Include <stdbool.h> in external compiles
(This used to be commit 03224dab111b931effd548586e630480fa1423b1)
Diffstat (limited to 'source4/pidl/lib/Parse/Pidl/Samba4/NDR')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm1
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm
index ace1e79672..3b12c8f173 100644
--- a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm
+++ b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm
@@ -105,6 +105,7 @@ sub Parse($$$$)
} else {
$res .= "#define _GNU_SOURCE\n";
$res .= "#include <stdio.h>\n";
+ $res .= "#include <stdbool.h>\n";
$res .= "#include <stdlib.h>\n";
$res .= "#include <stdint.h>\n";
$res .= "#include <stdarg.h>\n";
diff --git a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
index 07128568bd..38e3268356 100644
--- a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
+++ b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
@@ -2356,6 +2356,7 @@ sub Parse($$$)
pidl "#include <stdint.h>";
pidl "#include <stdlib.h>";
pidl "#include <stdio.h>";
+ pidl "#include <stdbool.h>";
pidl "#include <stdarg.h>";
pidl "#include <string.h>";
}