aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-close.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-12-23 00:32:29 -0500
committerMike Frysinger <vapier@gentoo.org>2022-12-23 00:52:04 -0500
commit3eaecff5137752dbe01b82efba36aad1d190fe7b (patch)
tree121b8714b7b7b2ca06c0b6c4c9f3a2b9dfe072a1 /sim/common/sim-close.c
parentd9e217e950b01fac7948d2d326e866a9f2d1dcb8 (diff)
downloadgdb-3eaecff5137752dbe01b82efba36aad1d190fe7b.zip
gdb-3eaecff5137752dbe01b82efba36aad1d190fe7b.tar.gz
gdb-3eaecff5137752dbe01b82efba36aad1d190fe7b.tar.bz2
sim: cgen: move symcat.h include to where it's used
Move this out of the global sim-main.h and to the few files that actually use functions from it. Only the cgen ports were pulling this, so this makes cgen & non-cgen behave more the same.
Diffstat (limited to 'sim/common/sim-close.c')
-rw-r--r--sim/common/sim-close.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/common/sim-close.c b/sim/common/sim-close.c
index 4e118a4..e21e617 100644
--- a/sim/common/sim-close.c
+++ b/sim/common/sim-close.c
@@ -21,6 +21,8 @@
/* This must come before any other includes. */
#include "defs.h"
+#include "symcat.h"
+
#include "sim-main.h"
#include "sim-module.h"
#include "sim/sim.h"