summaryrefslogtreecommitdiff
path: root/base/hostinfo.hh
diff options
context:
space:
mode:
Diffstat (limited to 'base/hostinfo.hh')
-rw-r--r--base/hostinfo.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/hostinfo.hh b/base/hostinfo.hh
index 2293d2b6a..453a1e69a 100644
--- a/base/hostinfo.hh
+++ b/base/hostinfo.hh
@@ -29,8 +29,12 @@
#ifndef __HOSTINFO_HH__
#define __HOSTINFO_HH__
+#include <string>
+
#include "sim/host.hh"
+std::string &hostname();
+
uint64_t procInfo(char *filename, char *target);
inline uint64_t memUsage()