diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/regtools/headergen_v2.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/regtools/headergen_v2.cpp b/utils/regtools/headergen_v2.cpp index 512dd41f0a..66d677c0b3 100644 --- a/utils/regtools/headergen_v2.cpp +++ b/utils/regtools/headergen_v2.cpp | |||
@@ -1004,6 +1004,9 @@ bool common_generator::generate_macro_header(error_context_t& ectx) | |||
1004 | print_guard(fout, guard, true); | 1004 | print_guard(fout, guard, true); |
1005 | fout << "\n"; | 1005 | fout << "\n"; |
1006 | 1006 | ||
1007 | /* ensure that types uintXX_t are defined */ | ||
1008 | fout << "#include <stdint.h>\n\n"; | ||
1009 | |||
1007 | /* print variadic OR macros: | 1010 | /* print variadic OR macros: |
1008 | * __VAR_OR1(prefix, suffix) expands to prefix##suffix | 1011 | * __VAR_OR1(prefix, suffix) expands to prefix##suffix |
1009 | * and more n>=2, using multiple layers of macros: | 1012 | * and more n>=2, using multiple layers of macros: |