aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel I. Kryukov <kryukov@frtk.ru>2020-12-31 08:14:36 +0400
committerJoel Brobecker <brobecker@adacore.com>2020-12-31 08:14:36 +0400
commit382bc56bc702608c2f493f743c2e990435a7a74c (patch)
tree3c94dcba7470f9259dda7e2b416d5f23986d7f58
parent13840e34b2ad20692a5e0a7b0b843d38d6c6f41d (diff)
downloadfsf-binutils-gdb-382bc56bc702608c2f493f743c2e990435a7a74c.zip
fsf-binutils-gdb-382bc56bc702608c2f493f743c2e990435a7a74c.tar.gz
fsf-binutils-gdb-382bc56bc702608c2f493f743c2e990435a7a74c.tar.bz2
sim/mips/sim-main.c: Include <stdlib.h> (for abort() declaration)
sim/mips/ChangeLog: * sim-main.c: Include <stdlib.h>.
-rw-r--r--sim/mips/ChangeLog4
-rw-r--r--sim/mips/sim-main.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index 8164bb2..a3813d4 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -1,3 +1,7 @@
+2020-12-31 Pavel I. Kryukov <kryukov@frtk.ru> (tiny change)
+
+ * sim-main.c: Include <stdlib.h>.
+
2020-12-14 Pavel I. Kryukov <kryukov@frtk.ru> (tiny change)
* cp1.c: Include <stdlib.h>.
diff --git a/sim/mips/sim-main.c b/sim/mips/sim-main.c
index d61ce61..620f4b2 100644
--- a/sim/mips/sim-main.c
+++ b/sim/mips/sim-main.c
@@ -22,6 +22,7 @@
#include "sim-main.h"
#include "sim-assert.h"
+#include <stdlib.h>
/*---------------------------------------------------------------------------*/
/*-- simulator engine -------------------------------------------------------*/