This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[PATCH] Generalize cygwin-specific include
- From: Christopher Faylor <cgf-use-the-mailinglist-please at sourceware dot org>
- To: newlib at sourceware dot org
- Date: Fri, 11 Nov 2005 11:24:31 -0500
- Subject: [PATCH] Generalize cygwin-specific include
2005-11-11 Christopher Faylor <cgf@timesys.com>
* libc/include/sys/time.h: For cygwin, use general header rather than
specific "sys/select.h".
Index: libc/include/sys/time.h
===================================================================
RCS file: /cvs/uberbaum/newlib/libc/include/sys/time.h,v
retrieving revision 1.6
diff -u -p -r1.6 time.h
--- libc/include/sys/time.h 20 Oct 2005 14:38:57 -0000 1.6
+++ libc/include/sys/time.h 11 Nov 2005 16:23:23 -0000
@@ -24,7 +24,7 @@ struct timezone {
};
#ifdef __CYGWIN__
-#include <sys/select.h>
+#include <cygwin/time.h>
#endif /* __CYGWIN__ */
#endif /* _WINSOCK_H */