changeset b041d847c0ed in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=b041d847c0ed
description:
imported patch headers.diff
diffstat:
2 files changed, 1 insertion(+), 2 deletions(-)
src/base/cprintf_formats.hh | 1 +
src/base/time.cc | 2 --
diffs (52 lines):
diff -r 695f371b8126 -r b041d847c0ed src/base/cprintf_formats.hh
--- a/src/base/cprintf_formats.hh Thu Sep 18 15:19:50 2008 -0700
+++ b/src/base/cprintf_formats.hh Thu Sep 18 15:19:51 2008 -0700
@@ -31,8 +31,9 @@
#ifndef __BASE_CPRINTF_FORMATS_HH__
#define __BASE_CPRINTF_FORMATS_HH__
+#include <cstring>
+#include <ostream>
#include <sstream>
-#include <ostream>
namespace cp {
diff -r 695f371b8126 -r b041d847c0ed src/base/misc.cc
--- a/src/base/misc.cc Thu Sep 18 15:19:50 2008 -0700
+++ b/src/base/misc.cc Thu Sep 18 15:19:51 2008 -0700
@@ -28,6 +28,7 @@
* Authors: Nathan Binkert
*/
+#include <cstdlib>
#include <iostream>
#include <string>
diff -r 695f371b8126 -r b041d847c0ed src/base/time.cc
--- a/src/base/time.cc Thu Sep 18 15:19:50 2008 -0700
+++ b/src/base/time.cc Thu Sep 18 15:19:51 2008 -0700
@@ -28,9 +28,9 @@
* Authors: Nathan Binkert
*/
-#include <sys/types.h>
-#include <sys/time.h>
-#include <time.h>
+#include <cctype>
+#include <cstring>
+#include <ctime>
#include <iostream>
#include <string>
diff -r 695f371b8126 -r b041d847c0ed src/sim/eventq.hh
--- a/src/sim/eventq.hh Thu Sep 18 15:19:50 2008 -0700
+++ b/src/sim/eventq.hh Thu Sep 18 15:19:51 2008 -0700
@@ -38,6 +38,7 @@
#include <algorithm>
#include <cassert>
+#include <climits>
#include <map>
#include <string>
#include <vector>
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev