Make headergen_v2's output include what it uses
Change-Id: Ie9790faac44c33a170bc2dc39d706575cefa0f2f
This commit is contained in:
parent
7d7a3156d3
commit
b8945734f5
|
@ -1004,6 +1004,9 @@ bool common_generator::generate_macro_header(error_context_t& ectx)
|
|||
print_guard(fout, guard, true);
|
||||
fout << "\n";
|
||||
|
||||
/* ensure that types uintXX_t are defined */
|
||||
fout << "#include <stdint.h>\n\n";
|
||||
|
||||
/* print variadic OR macros:
|
||||
* __VAR_OR1(prefix, suffix) expands to prefix##suffix
|
||||
* and more n>=2, using multiple layers of macros:
|
||||
|
|
Loading…
Reference in New Issue