summaryrefslogtreecommitdiff
path: root/sim/rx
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-12-22 22:01:19 -0500
committerMike Frysinger <vapier@gentoo.org>2022-12-22 22:06:12 -0500
commit6cf3ddd23ec1cf33f4b9f82d267e79741a2fdc48 (patch)
treee02be1dba5bfeb55f0bf55f6fcdb8678e2fd7259 /sim/rx
parent4c337f2dd3df1f97d9dc17ace5708f5cdc4512dc (diff)
downloadbinutils-gdb-6cf3ddd23ec1cf33f4b9f82d267e79741a2fdc48.tar.gz
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.
Diffstat (limited to 'sim/rx')
-rw-r--r--sim/rx/gdb-if.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/rx/gdb-if.c b/sim/rx/gdb-if.c
index caa7ddbcb32..edc99e6e77d 100644
--- a/sim/rx/gdb-if.c
+++ b/sim/rx/gdb-if.c
@@ -29,6 +29,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include <stdlib.h>
#include "ansidecl.h"
+#include "bfd.h"
#include "libiberty.h"
#include "sim/callback.h"
#include "sim/sim.h"