On Mon, 8 Jul 2002, Don Lewis wrote: > Building OpenOffice is broken in -current because of a problem in > <sys/stat.h>. If _POSIX_SOURCE is defined, <sys/stat.h> does not > #include <sys/time.h> to get the definition of struct timespec, and it > substitutes alternate structure members for the struct timespec members. > Unfortunately it still attempts to pad the structure with bit fields > whose width is relies on the definition of struct timespec.
Sorry, I haven't fixed this yet. I didn't know that anything important actually defines _POSIX_SOURCE. The fix should do something like including <sys/_timespec.h> to get a suitable variable of the struct. (I would prefer for <timespec.h> and <_timespec.h> to not exist. The struct has only 2 members so it is easier to repeat its declaration in a few places.) Bruce To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message