diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2008-05-23 12:33:50 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2008-05-23 12:33:50 +0000 |
commit | 1fc3031588af7a648d1df6d9d79046fc39f0cb08 (patch) | |
tree | c75715d089a606358156e3ac8d6d17739a067680 | |
parent | 7075440208ba88e3b7ac51daf4aa442cacbf2429 (diff) | |
download | cygnal-1fc3031588af7a648d1df6d9d79046fc39f0cb08.tar.gz cygnal-1fc3031588af7a648d1df6d9d79046fc39f0cb08.tar.bz2 cygnal-1fc3031588af7a648d1df6d9d79046fc39f0cb08.zip |
* libc/include/sys/_default_fcntl.h: Include <sys/time.h> on Cygwin.
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/libc/include/sys/_default_fcntl.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 11867b60e..652be51c7 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2008-05-23 Corinna Vinschen <corinna@vinschen.de> + + * libc/include/sys/_default_fcntl.h: Include <sys/time.h> on Cygwin. + 2008-05-22 Jeff Johnston <jjohnstn@redhat.com> * libc/include/sys/reent.h: Add _h_errno field. diff --git a/newlib/libc/include/sys/_default_fcntl.h b/newlib/libc/include/sys/_default_fcntl.h index 2a5dede44..ccef6132e 100644 --- a/newlib/libc/include/sys/_default_fcntl.h +++ b/newlib/libc/include/sys/_default_fcntl.h @@ -178,6 +178,7 @@ extern int open _PARAMS ((const char *, int, ...)); extern int creat _PARAMS ((const char *, mode_t)); extern int fcntl _PARAMS ((int, int, ...)); #ifdef __CYGWIN__ +#include <sys/time.h> extern int futimesat _PARAMS ((int, const char *, const struct timeval *)); extern int openat _PARAMS ((int, const char *, int, ...)); extern int unlinkat _PARAMS ((int, const char *, int)); |