From 6c7c4fb8e1ff2d7d170af3f50acd4cdc30f608f6 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Thu, 21 Apr 2011 21:55:48 +0200 Subject: select: adapt cancelation to use cancel.h Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- include/sys/select.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/sys/select.h') diff --git a/include/sys/select.h b/include/sys/select.h index 6ffe4e221..5436e20a0 100644 --- a/include/sys/select.h +++ b/include/sys/select.h @@ -110,7 +110,10 @@ extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); +#ifdef _LIBC +extern __typeof(select) __select_nocancel attribute_hidden; libc_hidden_proto(select) +#endif #ifdef __USE_XOPEN2K /* Same as above only that the TIMEOUT value is given with higher -- cgit v1.2.3