projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixes for gcc 4.0
[gem5.git]
/
base
/
hostinfo.hh
diff --git
a/base/hostinfo.hh
b/base/hostinfo.hh
index 3a5d1a61ef374c5f07fd6ab7e57ffbc180c87523..21a6e54753533a26d7b3b52b582ff231044901e5 100644
(file)
--- a/
base/hostinfo.hh
+++ b/
base/hostinfo.hh
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 2003 The Regents of The University of Michigan
+ * Copyright (c) 2003
-2005
The Regents of The University of Michigan
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@
-29,7
+29,11
@@
#ifndef __HOSTINFO_HH__
#define __HOSTINFO_HH__
#ifndef __HOSTINFO_HH__
#define __HOSTINFO_HH__
-#include "host.hh"
+#include <string>
+
+#include "sim/host.hh"
+
+std::string &hostname();
uint64_t procInfo(char *filename, char *target);
uint64_t procInfo(char *filename, char *target);