aboutsummaryrefslogtreecommitdiff
path: root/sim/erc32
diff options
context:
space:
mode:
Diffstat (limited to 'sim/erc32')
-rw-r--r--sim/erc32/ChangeLog4
-rw-r--r--sim/erc32/func.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog
index 72de217..3b85c66 100644
--- a/sim/erc32/ChangeLog
+++ b/sim/erc32/ChangeLog
@@ -1,5 +1,9 @@
2021-04-08 Tom Tromey <tom@tromey.com>
+ * func.c: Include sys/time.h.
+
+2021-04-08 Tom Tromey <tom@tromey.com>
+
* sis.c (run_sim, main): Use new-style declaration.
* interf.c (run_sim, sim_open, sim_close, sim_load)
(sim_create_inferior, sim_store_register, sim_fetch_register)
diff --git a/sim/erc32/func.c b/sim/erc32/func.c
index 98217f0..c6dfa19 100644
--- a/sim/erc32/func.c
+++ b/sim/erc32/func.c
@@ -26,6 +26,7 @@
#include <dis-asm.h>
#include "sim-config.h"
#include <inttypes.h>
+#include <sys/time.h>
#define VAL(x) strtoul(x,(char **)NULL,0)