diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-01-18 19:11:38 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-01-18 19:13:04 -0500 |
commit | c743e42e2213abe73a63c847409fbf0ca3c8cd46 (patch) | |
tree | bb2fb2db9902ad639c59c1cfeff106a0659037b8 | |
parent | e56038978366cfed41dcca152f70d2e6f8e1bc4e (diff) | |
download | binutils-gdb-c743e42e2213abe73a63c847409fbf0ca3c8cd46.tar.gz |
sim: v850: reduce extra header inclusion to igen files
Limit these extra header includes to only when specific igen files
include us until we can move the includes to the igen fils directly.
-rw-r--r-- | sim/v850/sim-main.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sim/v850/sim-main.h b/sim/v850/sim-main.h index b1753601904..eefe72cf52f 100644 --- a/sim/v850/sim-main.h +++ b/sim/v850/sim-main.h @@ -8,7 +8,11 @@ * TODO: Move these includes to the igen files that need them. * This requires extending the igen syntax to support header includes. */ +#if defined(SEMANTICS_C) || defined(SUPPORT_C) #include "sim-signal.h" +#endif +#if defined(ENGINE_C) || defined(IDECODE_C) || defined(SEMANTICS_C) #include "v850-sim.h" +#endif #endif |