summaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common')
-rw-r--r--sim/common/ChangeLog5
-rw-r--r--sim/common/sim-base.h1
-rw-r--r--sim/common/sim-basics.h2
3 files changed, 8 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 53dde497681..21a247489b6 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,8 @@
+2019-03-28 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * sim-base.h: Add 'sim-assert.h' include.
+ * sim-basics.h: Add 'libiberty.h' include.
+
2019-03-28 Stafford Horne <shorne@gmail.com>
* sim-options.c: Include "config.h".
diff --git a/sim/common/sim-base.h b/sim/common/sim-base.h
index d07ff2168c3..60072d334d8 100644
--- a/sim/common/sim-base.h
+++ b/sim/common/sim-base.h
@@ -93,6 +93,7 @@ typedef struct _sim_cpu sim_cpu;
#include "sim-watch.h"
#include "sim-memopt.h"
#include "sim-cpu.h"
+#include "sim-assert.h"
/* We require all sims to dynamically allocate cpus. See comment up top about
diff --git a/sim/common/sim-basics.h b/sim/common/sim-basics.h
index 5aa76db4249..0cf0bd62361 100644
--- a/sim/common/sim-basics.h
+++ b/sim/common/sim-basics.h
@@ -147,6 +147,8 @@ typedef enum {
#include "sim-utils.h"
+#include "libiberty.h"
+
/* Note: Only the simpler interfaces are defined here. More heavy
weight objects, such as core and events, are defined in the more
serious sim-base.h header. */