diff options
author | Nathan Binkert <binkertn@umich.edu> | 2003-10-10 22:59:51 -0400 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2003-10-10 22:59:51 -0400 |
commit | b61ec9773acf7ea2ead87fc68449d6587a7da88d (patch) | |
tree | 1b93264bf6afcdf7ca3e26e8096ea870ebf5a49c /base | |
parent | 6770411543d9ca44dc632cd4486635f8213b3a1b (diff) | |
download | gem5-b61ec9773acf7ea2ead87fc68449d6587a7da88d.tar.xz |
Make things work on OpenBSD again
sim/sim_time.cc:
make this work in OpenBSD
sim/sim_time.hh:
timeval is defined in sys/time.h
base/remote_gdb.cc:
need to include <cstdio> for sprintf
--HG--
extra : convert_revision : a230aa691bb798c37243fe4253399b2e40a2d12d
Diffstat (limited to 'base')
-rw-r--r-- | base/remote_gdb.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/base/remote_gdb.cc b/base/remote_gdb.cc index 0289f29db..a7893cdf7 100644 --- a/base/remote_gdb.cc +++ b/base/remote_gdb.cc @@ -91,6 +91,7 @@ #include <unistd.h> +#include <cstdio> #include <string> #include "cpu/exec_context.hh" |