From 5107b3bc83b5e5f4acbb7113843f942b14346ac2 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Thu, 30 Jun 2005 00:42:27 -0400 Subject: 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 --- sim/syscall_emul.hh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sim') 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 #include +#ifdef __CYGWIN32__ +#include // for O_BINARY +#endif #include "base/intmath.hh" // for RoundUp #include "mem/functional/functional.hh" -- cgit v1.2.3