mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
r14867: Include <stdbool.h> in external compiles
This commit is contained in:
parent
ab0c2ede27
commit
03224dab11
@ -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";
|
||||
|
@ -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>";
|
||||
}
|
||||
|
@ -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>";
|
||||
|
@ -54,6 +54,7 @@ SKIP: {
|
||||
print CC "#include <stdint.h>\n";
|
||||
print CC "#include <stdlib.h>\n";
|
||||
print CC "#include <stdio.h>\n";
|
||||
print CC "#include <stdbool.h>\n";
|
||||
print CC "#include <stdarg.h>\n";
|
||||
print CC $header;
|
||||
print CC $ndrheader;
|
||||
|
Loading…
Reference in New Issue
Block a user