From 6cf3ddd23ec1cf33f4b9f82d267e79741a2fdc48 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 22 Dec 2022 22:01:19 -0500 Subject: sim: move bfd.h include out of sim-main.h Not all arches include this in sim-main.h, and the ones that do don't actually use bfd defines in the sim-main.h header. Prune it to make sim-main.h simpler so we can kill it off entirely in the future. We add the include to the files that utilize e.g. bfd_vma though. --- sim/riscv/interp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sim/riscv') diff --git a/sim/riscv/interp.c b/sim/riscv/interp.c index 50b5a51..6bd0bf2 100644 --- a/sim/riscv/interp.c +++ b/sim/riscv/interp.c @@ -21,6 +21,8 @@ /* This must come before any other includes. */ #include "defs.h" +#include "bfd.h" + #include "sim/callback.h" #include "sim-main.h" #include "sim-options.h" -- cgit v1.1