On Sun, 1 Mar 2009, Austin English wrote:
OpenSolaris defines _FILE_OFFSET_BITS as well, causing a conflict.
_FILE_OFFSET_BITS modifies the behavior of the Unix headers. So if it's set already, then it's wrong to redefine it and continue to include other Unix headers because you'll end up with inconsistent definitions.
I think what this means is that there are places that include port.h after they have included Unix headers and that's wrong. It's these files that should be fixed.