diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2005-10-20 14:38:57 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2005-10-20 14:38:57 +0000 |
commit | c70571bdbe40645dffd361c2ffb283f4a9275fc2 (patch) | |
tree | ad3c06deefacc75b53e09a01c1d99b3f7dcbd514 /newlib/libc | |
parent | 81bd1ca7231e12c4cd0248784355ddd8a6de6918 (diff) | |
download | cygnal-c70571bdbe40645dffd361c2ffb283f4a9275fc2.tar.gz cygnal-c70571bdbe40645dffd361c2ffb283f4a9275fc2.tar.bz2 cygnal-c70571bdbe40645dffd361c2ffb283f4a9275fc2.zip |
* libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/include/sys/time.h | 4 |
1 files changed, 4 insertions, 0 deletions
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)); |