summaryrefslogtreecommitdiff
path: root/src/sim/syscall_emul.cc
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2009-11-04 16:57:01 -0800
committerNathan Binkert <nate@binkert.org>2009-11-04 16:57:01 -0800
commit2c5fe6f95e64a5a97d56cccc6b8b5417cdd981ae (patch)
tree71a062791437d79c1063688b09d45d2cd754a9f9 /src/sim/syscall_emul.cc
parentfbfe92b5b8f4bfe229632d6d34e8ecb4dc7c1b29 (diff)
downloadgem5-2c5fe6f95e64a5a97d56cccc6b8b5417cdd981ae.tar.xz
build: fix compile problems pointed out by gcc 4.4
Diffstat (limited to 'src/sim/syscall_emul.cc')
-rw-r--r--src/sim/syscall_emul.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sim/syscall_emul.cc b/src/sim/syscall_emul.cc
index cc8d99bcd..7cffffcf1 100644
--- a/src/sim/syscall_emul.cc
+++ b/src/sim/syscall_emul.cc
@@ -32,8 +32,9 @@
#include <fcntl.h>
#include <unistd.h>
-#include <string>
+#include <cstdio>
#include <iostream>
+#include <string>
#include "sim/syscall_emul.hh"
#include "base/chunk_generator.hh"