the accompanying fd_set definitions in newlib's sys/types.h.
+2009-05-08 Corinna Vinschen <corinna@vinschen.de>
+
+ * include/sys/select.h: Guard definitions with __USE_W32_SOCKETS as
+ the accompanying fd_set definitions in newlib's sys/types.h.
+
2009-05-06 Christopher Faylor <me+cygwin@cgf.cx>
* fhandler_console.cc (fhandler_console::ioctl): Properly treat
/* select.h
- Copyright 1998, 1999, 2000, 2001 Red Hat, Inc.
+ Copyright 1998, 1999, 2000, 2001, 2009 Red Hat, Inc.
Written by Geoffrey Noer <noer@cygnus.com>
#ifndef _SYS_SELECT_H
#define _SYS_SELECT_H
-#if !defined (_POSIX_SOURCE) && !defined (__INSIDE_CYGWIN_NET__)
+#if !defined (_POSIX_SOURCE) && !defined (__INSIDE_CYGWIN_NET__) && !defined (__USE_W32_SOCKETS)
#include <sys/cdefs.h>