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.
Manuel
PS: If you need an account on a macos box, let me know.
Thu Aug 6 01:17:47 PDT 2009 Simon Marlow <[email protected]>
* add #include <sys/types.h> (hopefully fixes OS X build)
Ignore-this: 82d02b32ec5f7ad1966729402a6610
M ./rts/posix/FileLock.c -1 +2
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20090806081747-12142-945fd1b09bbc50d38e86428e0ec7d7649dcded85.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc