summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2009-11-04 16:57:01 -0800
committerNathan Binkert <nate@binkert.org>2009-11-04 16:57:01 -0800
commit2c5fe6f95e64a5a97d56cccc6b8b5417cdd981ae (patch)
tree71a062791437d79c1063688b09d45d2cd754a9f9 /src/cpu
parentfbfe92b5b8f4bfe229632d6d34e8ecb4dc7c1b29 (diff)
downloadgem5-2c5fe6f95e64a5a97d56cccc6b8b5417cdd981ae.tar.xz
build: fix compile problems pointed out by gcc 4.4
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/inorder/resource.hh1
-rw-r--r--src/cpu/inst_seq.hh2
-rw-r--r--src/cpu/legiontrace.cc4
3 files changed, 6 insertions, 1 deletions
diff --git a/src/cpu/inorder/resource.hh b/src/cpu/inorder/resource.hh
index 7935e5517..605b7f690 100644
--- a/src/cpu/inorder/resource.hh
+++ b/src/cpu/inorder/resource.hh
@@ -36,6 +36,7 @@
#include <list>
#include <string>
+#include "base/types.hh"
#include "cpu/inst_seq.hh"
#include "cpu/inorder/inorder_dyn_inst.hh"
#include "cpu/inorder/pipeline_traits.hh"
diff --git a/src/cpu/inst_seq.hh b/src/cpu/inst_seq.hh
index 21e04ed25..b5feaf584 100644
--- a/src/cpu/inst_seq.hh
+++ b/src/cpu/inst_seq.hh
@@ -32,6 +32,8 @@
#ifndef __STD_TYPES_HH__
#define __STD_TYPES_HH__
+#include "base/types.hh"
+
// inst sequence type, used to order instructions in the ready list,
// if this rolls over the ready list order temporarily will get messed
// up, but execution will continue and complete correctly
diff --git a/src/cpu/legiontrace.cc b/src/cpu/legiontrace.cc
index f1980c713..1390d0807 100644
--- a/src/cpu/legiontrace.cc
+++ b/src/cpu/legiontrace.cc
@@ -41,10 +41,12 @@
#error Legion tracing only works in full system!
#endif
-#include <iomanip>
#include <sys/ipc.h>
#include <sys/shm.h>
+#include <cstdio>
+#include <iomanip>
+
#include "arch/sparc/predecoder.hh"
#include "arch/sparc/registers.hh"
#include "arch/sparc/utility.hh"