summaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2003-10-10 22:59:51 -0400
committerNathan Binkert <binkertn@umich.edu>2003-10-10 22:59:51 -0400
commitb61ec9773acf7ea2ead87fc68449d6587a7da88d (patch)
tree1b93264bf6afcdf7ca3e26e8096ea870ebf5a49c /base
parent6770411543d9ca44dc632cd4486635f8213b3a1b (diff)
downloadgem5-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.cc1
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"