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/cr16/simops.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sim/cr16/simops.c') diff --git a/sim/cr16/simops.c b/sim/cr16/simops.c index d58c0c9..6eefe1b 100644 --- a/sim/cr16/simops.c +++ b/sim/cr16/simops.c @@ -31,6 +31,8 @@ #include #include +#include "bfd.h" + #include "sim-main.h" #include "sim-signal.h" #include "simops.h" -- cgit v1.1