Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2008-05-23 16:33:50 +0400
committerCorinna Vinschen <corinna@vinschen.de>2008-05-23 16:33:50 +0400
commit1fc3031588af7a648d1df6d9d79046fc39f0cb08 (patch)
treec75715d089a606358156e3ac8d6d17739a067680 /newlib
parent7075440208ba88e3b7ac51daf4aa442cacbf2429 (diff)
* libc/include/sys/_default_fcntl.h: Include <sys/time.h> on Cygwin.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/include/sys/_default_fcntl.h1
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));