summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/aux_vector.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sim/aux_vector.cc b/src/sim/aux_vector.cc
index 87a22e455..18834ac9b 100644
--- a/src/sim/aux_vector.cc
+++ b/src/sim/aux_vector.cc
@@ -66,6 +66,9 @@
#error "THE_ISA not set"
#endif
+#include "arch/isa_traits.hh"
+#include "sim/byteswap.hh"
+
template<class IntType>
AuxVector<IntType>::AuxVector(IntType type, IntType val)
: _auxType(TheISA::htog(type)), _auxVal(TheISA::htog(val)),