summaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/remote_gdb.cc1
-rw-r--r--base/statistics.hh7
2 files changed, 5 insertions, 3 deletions
diff --git a/base/remote_gdb.cc b/base/remote_gdb.cc
index 0289f29db..a7893cdf7 100644
--- a/base/remote_gdb.cc
+++ b/base/remote_gdb.cc
@@ -91,6 +91,7 @@
#include <unistd.h>
+#include <cstdio>
#include <string>
#include "cpu/exec_context.hh"
diff --git a/base/statistics.hh b/base/statistics.hh
index f333b9b08..7ccb20498 100644
--- a/base/statistics.hh
+++ b/base/statistics.hh
@@ -55,9 +55,10 @@
#include <assert.h>
-#include "host.hh"
-#include "refcnt.hh"
-#include "str.hh"
+#include "base/refcnt.hh"
+#include "base/str.hh"
+
+#include "sim/host.hh"
#ifndef NAN
float __nan();