summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/sys
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2008-05-23 12:33:50 +0000
committerCorinna Vinschen <corinna@vinschen.de>2008-05-23 12:33:50 +0000
commit1fc3031588af7a648d1df6d9d79046fc39f0cb08 (patch)
treec75715d089a606358156e3ac8d6d17739a067680 /newlib/libc/include/sys
parent7075440208ba88e3b7ac51daf4aa442cacbf2429 (diff)
downloadcygnal-1fc3031588af7a648d1df6d9d79046fc39f0cb08.tar.gz
cygnal-1fc3031588af7a648d1df6d9d79046fc39f0cb08.tar.bz2
cygnal-1fc3031588af7a648d1df6d9d79046fc39f0cb08.zip
* libc/include/sys/_default_fcntl.h: Include <sys/time.h> on Cygwin.
Diffstat (limited to 'newlib/libc/include/sys')
-rw-r--r--newlib/libc/include/sys/_default_fcntl.h1
1 files changed, 1 insertions, 0 deletions
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));