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.
This commit is contained in:
Mike Frysinger 2023-01-18 19:11:38 -05:00
parent e560389783
commit c743e42e22

View file

@ -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