aboutsummaryrefslogtreecommitdiff
path: root/sim/common/hw-events.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-12-04 21:09:23 -0500
committerMike Frysinger <vapier@gentoo.org>2021-12-04 22:10:04 -0500
commit843bf75416dd11d91a5d617f7a49f6e9e5025b42 (patch)
tree9c38ee66660ea7438c727dd330fce45520e0ee11 /sim/common/hw-events.h
parent33bbd5e8dd0d0967da4a86007ef1e8d268367492 (diff)
downloadbinutils-843bf75416dd11d91a5d617f7a49f6e9e5025b42.zip
binutils-843bf75416dd11d91a5d617f7a49f6e9e5025b42.tar.gz
binutils-843bf75416dd11d91a5d617f7a49f6e9e5025b42.tar.bz2
sim: include ansidecl.h when needed
Avoid implicit include deps with this to help untangle sim headers so we can get rid of arch-specific sim-main.h.
Diffstat (limited to 'sim/common/hw-events.h')
-rw-r--r--sim/common/hw-events.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/common/hw-events.h b/sim/common/hw-events.h
index 7d75000..0b55542 100644
--- a/sim/common/hw-events.h
+++ b/sim/common/hw-events.h
@@ -22,6 +22,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include <stdarg.h>
+#include "ansidecl.h"
+
/* Event manager customized for hardware models.
This interface is discussed further in sim-events.h. */