diff mbox series

[2/4] tcg/tci: Include missing 'disas/dis-asm.h' header

Message ID 20241218155202.71931-3-philmd@linaro.org
State New
Headers show
Series include: Header cleanups around "cpu.h" | expand

Commit Message

Philippe Mathieu-Daudé Dec. 18, 2024, 3:52 p.m. UTC
"disas/dis-asm.h" defines bfd_vma and disassemble_info,
include it in order to avoid (when refactoring other
headers):

  tcg/tci.c:1066:20: error: unknown type name 'bfd_vma'
  int print_insn_tci(bfd_vma addr, disassemble_info *info)
                     ^
  tcg/tci.c:1066:34: error: unknown type name 'disassemble_info'
  int print_insn_tci(bfd_vma addr, disassemble_info *info)
                                   ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 tcg/tci.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/tcg/tci.c b/tcg/tci.c
index 3afb2235285..3eb95e20b65 100644
--- a/tcg/tci.c
+++ b/tcg/tci.c
@@ -21,6 +21,7 @@ 
 #include "tcg/tcg.h"
 #include "tcg/helper-info.h"
 #include "tcg/tcg-ldst.h"
+#include "disas/dis-asm.h"
 #include <ffi.h>