diff options
Diffstat (limited to 'base')
-rw-r--r-- | base/hostinfo.cc | 2 | ||||
-rw-r--r-- | base/remote_gdb.hh | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/base/hostinfo.cc b/base/hostinfo.cc index 44d7e1bcd..5efb77356 100644 --- a/base/hostinfo.cc +++ b/base/hostinfo.cc @@ -42,7 +42,7 @@ procInfo(char *filename, char *target) int done = 0; char line[80]; char format[80]; - uint64_t usage; + long usage; FILE *fp = fopen(filename, "r"); diff --git a/base/remote_gdb.hh b/base/remote_gdb.hh index ba827c382..d8e09909a 100644 --- a/base/remote_gdb.hh +++ b/base/remote_gdb.hh @@ -29,6 +29,8 @@ #ifndef __REMOTE_GDB_HH__ #define __REMOTE_GDB_HH__ +#include <map> + #include "base/kgdb.h" #include "cpu/pc_event.hh" #include "base/pollevent.hh" |