aboutsummaryrefslogtreecommitdiff
path: root/sim/v850/simops.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-01-31 15:17:18 -0500
committerMike Frysinger <vapier@gentoo.org>2021-01-31 15:19:16 -0500
commit5f05936d9b14d2a75eaea7cc396052de268f8503 (patch)
tree3ea7565eb6edcddbe30f846a33bda535ad8d3aa0 /sim/v850/simops.c
parent44b30b7f0e6fccb3fc678c84a8c2ad7d19b4a679 (diff)
downloadfsf-binutils-gdb-5f05936d9b14d2a75eaea7cc396052de268f8503.zip
fsf-binutils-gdb-5f05936d9b14d2a75eaea7cc396052de268f8503.tar.gz
fsf-binutils-gdb-5f05936d9b14d2a75eaea7cc396052de268f8503.tar.bz2
sim: v850: cleanup build warnings
This port only had one minor warning left in it, so fix it and then enable -Werror behavior by deleting the macro call. We'll use the common default now (which is -Werror).
Diffstat (limited to 'sim/v850/simops.c')
-rw-r--r--sim/v850/simops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/v850/simops.c b/sim/v850/simops.c
index 421afee..bd23f92 100644
--- a/sim/v850/simops.c
+++ b/sim/v850/simops.c
@@ -11,6 +11,7 @@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
+#include <stdlib.h>
#include <string.h>
#include "targ-vals.h"