diff --git a/newlib/ChangeLog b/newlib/ChangeLog index a1350adb5..1788da034 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2005-10-20 Corinna Vinschen + + * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin. + 2005-10-18 Corinna Vinschen * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin. diff --git a/newlib/libc/include/sys/time.h b/newlib/libc/include/sys/time.h index 4771f5798..6e11ae2c8 100644 --- a/newlib/libc/include/sys/time.h +++ b/newlib/libc/include/sys/time.h @@ -73,6 +73,10 @@ struct itimerval { int _EXFUN(gettimeofday, (struct timeval *__p, struct timezone *__z)); int _EXFUN(settimeofday, (const struct timeval *, const struct timezone *)); int _EXFUN(utimes, (const char *__path, const struct timeval *__tvp)); +#ifdef __CYGWIN__ +int _EXFUN(futimes, (int __fd, const struct timeval *__tvp)); +int _EXFUN(lutimes, (const char *__path, const struct timeval *__tvp)); +#endif int _EXFUN(getitimer, (int __which, struct itimerval *__value)); int _EXFUN(setitimer, (int __which, const struct itimerval *__value, struct itimerval *__ovalue));