On 07/08/2009 00:56, Manuel M T Chakravarty wrote:
No, that doesn't fix it. The error aries in FileLock.h, not FileLock.c
- more specifically, it is in includes/rts/FileLock.c (which is included
from includes/Rts.h):
In file included from includes/Rts.h:171,
from includes/mkDerivedConstants.c:23:0:
includes/rts/FileLock.h:12:0: error: syntax error before 'ino_t'
includes/Rts.h has tons of includes and I have no idea where it is
supposed to have included sys/types.h to get ino_t.
I don't know why it works on Linux and not MacOS. But I suggest putting
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
actually in includes/rts/FileLock.h.
Manuel
PS: If you need an account on a macos box, let me know.
Ian has one. Ian - would you mind validating the above change?
Cheers,
Simon
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc