summaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/chunk_generator.hh2
-rw-r--r--base/loader/elf_object.cc2
2 files changed, 3 insertions, 1 deletions
diff --git a/base/chunk_generator.hh b/base/chunk_generator.hh
index a584679d0..1dca50db4 100644
--- a/base/chunk_generator.hh
+++ b/base/chunk_generator.hh
@@ -36,7 +36,7 @@
#include <algorithm>
#include "base/intmath.hh"
-#include "targetarch/isa_traits.hh" // for Addr
+#include "arch/isa_traits.hh" // for Addr
/**
* This class takes an arbitrary memory region (address/length pair)
diff --git a/base/loader/elf_object.cc b/base/loader/elf_object.cc
index 1136686f0..9a67f1887 100644
--- a/base/loader/elf_object.cc
+++ b/base/loader/elf_object.cc
@@ -47,6 +47,8 @@
#include "base/trace.hh" // for DPRINTF
+#include "sim/byteswap.hh"
+
using namespace std;