diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-04-02 16:26:02 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:59:44 -0500 |
commit | 1b22141c874ff704ad4fe048d4464168495c36b6 (patch) | |
tree | 795242c9d344b414381f93bbdb3e4facc853c017 /source4/pidl/lib/Parse/Pidl | |
parent | 8e738cc6d421dfe9abf4fb798f2efa9028255edf (diff) | |
download | samba-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')
-rw-r--r-- | source4/pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm | 1 | ||||
-rw-r--r-- | source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm | 1 | ||||
-rw-r--r-- | source4/pidl/lib/Parse/Pidl/Samba4/TDR.pm | 1 |
3 files changed, 3 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>"; } diff --git a/source4/pidl/lib/Parse/Pidl/Samba4/TDR.pm b/source4/pidl/lib/Parse/Pidl/Samba4/TDR.pm index 7e597dfb34..592961dee2 100644 --- a/source4/pidl/lib/Parse/Pidl/Samba4/TDR.pm +++ b/source4/pidl/lib/Parse/Pidl/Samba4/TDR.pm @@ -242,6 +242,7 @@ sub Parser($$$) pidl "#include \"includes.h\""; } else { pidl "#include <stdio.h>"; + pidl "#include <stdbool.h>"; pidl "#include <stdlib.h>"; pidl "#include <stdint.h>"; pidl "#include <stdarg.h>"; |