Remove requirement to set _BSD_EXTENSION when including sys/time.h, it is now part of the XSI standard and many apps require it. Seems that the timezone part didn't make it into the standard and seems to be deprecated, so I left it inside a _BSD_EXTENSION ifdef in case any old code depends on it (I have't found any). Reference: /n/sources/patch/applied/ape-time-bsd-ext Date: Mon Jun 23 00:24:42 CES 2008 Signed-off-by: uriel99@gmail.com --- /sys/include/ape/sys/time.h Mon Jun 23 00:20:09 2008 +++ /sys/include/ape/sys/time.h Mon Jun 23 00:20:06 2008 @@ -1,8 +1,5 @@ #ifndef __SYSTIME_H #define __SYSTIME_H -#ifndef _BSD_EXTENSION - This header file is an extension to ANSI/POSIX -#endif #pragma lib "/$M/lib/ape/libap.a" #ifndef __TIMEVAL__ @@ -11,10 +8,13 @@ long tv_sec; long tv_usec; }; + +#ifdef _BSD_EXTENSION struct timezone { int tz_minuteswest; int tz_dsttime; }; +#endif #endif /* __TIMEVAL__ */ extern int gettimeofday(struct timeval *, struct timezone *);