[PATCH] FreeBSD compatibility for <sys/select.h>

Corinna Vinschen vinschen@redhat.com
Mon Dec 14 14:46:00 GMT 2015


On Dec 14 10:06, Sebastian Huber wrote:
> 	* libc/include/sys/_sigset.h: New.
> 	* libc/include/sys/select.h: Do not include <sys/types.h> and
> 	<sys/time.h> to avoid cyclic header file dependencies.  Include
> 	specialized header files instead.
> 	(sigset_t): Conditionally define.
> 	* libc/include/sys/signal.h (sigset_t): Likewise.
> 	* libc/include/sys/time.h: Include <sys/select.h> if
> 	__BSD_VISIBLE.
> 	* libc/include/sys/types.h: Likewise.

Patch applied with changes for Cygwin.  I dropped the definition of
sigset_t in Cygwin's cygwin/signal.h in favor of the one from the
new sys/_sigset.h, so we can remove a few Cygwin test macros.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20151214/e2c62c29/attachment.sig>


More information about the Newlib mailing list