aboutsummaryrefslogtreecommitdiff
path: root/sim/bfin
diff options
context:
space:
mode:
Diffstat (limited to 'sim/bfin')
-rw-r--r--sim/bfin/ChangeLog4
-rw-r--r--sim/bfin/dv-bfin_dma.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog
index d82bc5e..b000b82 100644
--- a/sim/bfin/ChangeLog
+++ b/sim/bfin/ChangeLog
@@ -1,3 +1,7 @@
+2021-01-04 Mike Frysinger <vapier@gentoo.org>
+
+ * dv-bfin_dma.c: Include stdlib.h.
+
2021-01-02 Mike Frysinger <vapier@gentoo.org>
* interp.c: Change ALIGN to align_up.
diff --git a/sim/bfin/dv-bfin_dma.c b/sim/bfin/dv-bfin_dma.c
index 06fe5ed..e3834d7 100644
--- a/sim/bfin/dv-bfin_dma.c
+++ b/sim/bfin/dv-bfin_dma.c
@@ -20,6 +20,8 @@
#include "config.h"
+#include <stdlib.h>
+
#include "sim-main.h"
#include "devices.h"
#include "hw-device.h"