Re: sys/stat.h and _POSIX_SOURCE

2002-06-25 Thread Bruce Evans
On Tue, 25 Jun 2002, Alexander Kabaev wrote: > The last commit to sys/sys/stat.h made by Kirk broke compilation of > _POSIX_SOURCE programs. It uses sizeof(struct timespec) to pad the > st_createtimespec field to 16 bytes, but struct timespec is not visible > when _POSIX_SOURCE is defined. Oops.

sys/stat.h and _POSIX_SOURCE

2002-06-25 Thread Alexander Kabaev
The last commit to sys/sys/stat.h made by Kirk broke compilation of _POSIX_SOURCE programs. It uses sizeof(struct timespec) to pad the st_createtimespec field to 16 bytes, but struct timespec is not visible when _POSIX_SOURCE is defined. -- Alexander Kabaev To Unsubscribe: send mail to [EMAIL P