summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/syscall_emul.hh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/sim/syscall_emul.hh b/src/sim/syscall_emul.hh
index 6016ccfd9..703bbd1e0 100644
--- a/src/sim/syscall_emul.hh
+++ b/src/sim/syscall_emul.hh
@@ -41,14 +41,16 @@
/// This file defines objects used to emulate syscalls from the target
/// application on the host machine.
-#include <errno.h>
-#include <string>
#ifdef __CYGWIN32__
#include <sys/fcntl.h> // for O_BINARY
#endif
#include <sys/stat.h>
+#include <errno.h>
#include <fcntl.h>
#include <sys/uio.h>
+#include <sys/time.h>
+
+#include <string>
#include "base/chunk_generator.hh"
#include "base/intmath.hh" // for RoundUp