summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sim/v850/sim-main.h4
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