summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/sys/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/include/sys/time.h')
-rw-r--r--newlib/libc/include/sys/time.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/newlib/libc/include/sys/time.h b/newlib/libc/include/sys/time.h
index 7e7205bd8..521be68db 100644
--- a/newlib/libc/include/sys/time.h
+++ b/newlib/libc/include/sys/time.h
@@ -43,11 +43,9 @@
#include <sys/types.h>
#include <sys/timespec.h>
-/* Cygwin exposes sys/select.h to users of sys/time.h for a couple of years
- so we have to maintain that. Note that this is in accordance with POSIX. */
-#ifdef __CYGWIN__
+#if __BSD_VISIBLE
#include <sys/select.h>
-#endif /* __CYGWIN__ */
+#endif
struct timezone {
int tz_minuteswest; /* minutes west of Greenwich */