aboutsummaryrefslogtreecommitdiff
path: root/sim/bpf/decode-be.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-26 23:28:25 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-27 10:54:06 -0400
commite0fd25e4859e1610395b93ff6f05d67c13220cf6 (patch)
tree3d5e3a67ccf20ba2c81bff3448c3e879f4f7cb3e /sim/bpf/decode-be.c
parent76f11310dfe5815ac6045fcd76eb3bbdc85678ae (diff)
downloadbinutils-e0fd25e4859e1610395b93ff6f05d67c13220cf6.zip
binutils-e0fd25e4859e1610395b93ff6f05d67c13220cf6.tar.gz
binutils-e0fd25e4859e1610395b93ff6f05d67c13220cf6.tar.bz2
sim: bpf/cris: include cgen-mem in decoders
These arches use cgen memory functions, so make sure to include the header in the modules.
Diffstat (limited to 'sim/bpf/decode-be.c')
-rw-r--r--sim/bpf/decode-be.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/bpf/decode-be.c b/sim/bpf/decode-be.c
index 54ebae1..71ca032 100644
--- a/sim/bpf/decode-be.c
+++ b/sim/bpf/decode-be.c
@@ -27,6 +27,8 @@ This file is part of the GNU simulators.
#include "sim-main.h"
#include "sim-assert.h"
+#include "cgen-mem.h"
+#include "cgen-ops.h"
/* The instruction descriptor array.
This is computed at runtime. Space for it is not malloc'd to save a