fixes for gcc 4.0
[gem5.git] / base / hostinfo.hh
index 3a5d1a61ef374c5f07fd6ab7e57ffbc180c87523..21a6e54753533a26d7b3b52b582ff231044901e5 100644 (file)
@@ -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
 #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);