summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/pselect.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/pselect.c b/misc/pselect.c
index 1d841a8cf4..80cf8be4b3 100644
--- a/misc/pselect.c
+++ b/misc/pselect.c
@@ -62,7 +62,9 @@ __pselect (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
return retval;
}
+#ifndef __pselect
weak_alias (__pselect, pselect)
strong_alias (__pselect, __libc_pselect)
/* __select handles cancellation. */
LIBC_CANCEL_HANDLED ();
+#endif