aboutsummaryrefslogtreecommitdiff
path: root/sim/common/cgen-trace.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-01-09 02:43:54 -0500
committerMike Frysinger <vapier@gentoo.org>2021-01-09 02:45:14 -0500
commitce0be4070f04ff8295a3cb58e352f759ce8ae70d (patch)
tree89d2cda550d5a192fe71ddbf5c4bd756836fcc11 /sim/common/cgen-trace.c
parentba9e922fa0dfbd7957ef939da3a6b0dbbbaa03cd (diff)
downloadgdb-ce0be4070f04ff8295a3cb58e352f759ce8ae70d.zip
gdb-ce0be4070f04ff8295a3cb58e352f759ce8ae70d.tar.gz
gdb-ce0be4070f04ff8295a3cb58e352f759ce8ae70d.tar.bz2
sim: common: add missing stdlib.h for abort()
Diffstat (limited to 'sim/common/cgen-trace.c')
-rw-r--r--sim/common/cgen-trace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/common/cgen-trace.c b/sim/common/cgen-trace.c
index 43bf017..82abad6 100644
--- a/sim/common/cgen-trace.c
+++ b/sim/common/cgen-trace.c
@@ -19,6 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "config.h"
#include <errno.h>
+#include <stdlib.h>
#include "dis-asm.h"
#include "bfd.h"
#include "sim-main.h"