diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2005-06-30 00:42:27 -0400 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2005-06-30 00:42:27 -0400 |
commit | 5107b3bc83b5e5f4acbb7113843f942b14346ac2 (patch) | |
tree | 94b3933d664137e301a365b0fa338fb088cfe55d /sim/syscall_emul.hh | |
parent | ec1f689d0db9e1839e1b5a8f67f12d19f56c85e3 (diff) | |
download | gem5-5107b3bc83b5e5f4acbb7113843f942b14346ac2.tar.xz |
Fixes for cygwin compile.
dev/ide_atareg.h:
Need endian.h for LITTLE_ENDIAN.
sim/syscall_emul.hh:
Need to include sys/fcntl.h to get O_BINARY.
--HG--
extra : convert_revision : 606f9506dc483f3952dcc65b8ba25c28001f2c43
Diffstat (limited to 'sim/syscall_emul.hh')
-rw-r--r-- | sim/syscall_emul.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/syscall_emul.hh b/sim/syscall_emul.hh index 417531cc3..d061f868e 100644 --- a/sim/syscall_emul.hh +++ b/sim/syscall_emul.hh @@ -37,6 +37,9 @@ #include <errno.h> #include <string> +#ifdef __CYGWIN32__ +#include <sys/fcntl.h> // for O_BINARY +#endif #include "base/intmath.hh" // for RoundUp #include "mem/functional/functional.hh" |