Paul Eggert wrote: > The main idea here is that we should try to avoid separate include > files like "gettimeofday.h" for declarations that POSIX says should be > in a standard file like <sys/time.h>. Instead, we should patch > <sys/time.h> by wrapping it; that way the user code can just code to > the POSIX standard.
Yes, I agree this is better. I merely wanted to integrate and clean up Martin Lambers' patch. > * lib/nanosleep.c: Don't worry about TIME_WITH_SYS_TIME; no longer > needed. > * lib/strftime.c: Likewise. > * lib/timespec.h: Likewise. Good; the last platform I saw that had incompatible <time.h> and <sys/time.h> was Sun386 with SunOS 4.0.x, in 1991/1992. Shouldn't the AC_HEADER_TIME macro now be marked obsolescent in the autoconf manual, like the AC_STRUCT_TM macro already is? Bruno