]> git.saurik.com Git - apple/libc.git/blame - gen/FreeBSD/pselect.c.patch
Libc-594.9.4.tar.gz
[apple/libc.git] / gen / FreeBSD / pselect.c.patch
CommitLineData
224c7076
A
1--- pselect.c.orig 2007-08-19 17:38:56.000000000 -0700
2+++ pselect.c 2007-08-19 19:15:50.000000000 -0700
3@@ -27,12 +27,22 @@
4 * SUCH DAMAGE.
5 */
6
7+#if defined(VARIANT_CANCELABLE) || defined(VARIANT_PRE1050)
8+#undef __DARWIN_NON_CANCELABLE
9+#endif /* VARIANT_CANCELABLE */
10+
11+#ifdef VARIANT_DARWINEXTSN
12+#define _DARWIN_UNLIMITED_SELECT
13+#endif /* VARIANT_DARWINEXTSN */
14+
15 #include <sys/cdefs.h>
9385eb3d
A
16 __FBSDID("$FreeBSD: src/lib/libc/gen/pselect.c,v 1.6 2002/10/12 16:13:37 mike Exp $");
17
18 #include "namespace.h"
19+#include <sys/types.h>
20 #include <sys/select.h>
21 #include <sys/time.h>
22+#include <unistd.h>
23
24 #include <errno.h>
25 #include <signal.h>