summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-11-19 23:04:59 +0000
committerUlrich Drepper <drepper@redhat.com>1997-11-19 23:04:59 +0000
commit77e821b1b5acdf6adcf98c90486978de00a146ec (patch)
tree27ca57d69dbcf8727b9b9a2162206d8125cf324d /misc
parent9d9c8e087e6b9ce482bd7b1407568381d4d6a8e6 (diff)
Declare pselect only if __USE_POSIX.
Diffstat (limited to 'misc')
-rw-r--r--misc/sys/select.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/sys/select.h b/misc/sys/select.h
index 2e102dd9fe..dbf4f46b0f 100644
--- a/misc/sys/select.h
+++ b/misc/sys/select.h
@@ -77,12 +77,14 @@ extern int select __P ((int __nfds, __fd_set *__readfds,
/* Same as above only that the TIMEOUT value is given with higher
resolution. This version should be used. */
+#ifdef __USE_POSIX
extern int __pselect __P ((int __nfds, __fd_set *__readfds,
__fd_set *__writefds, __fd_set *__exceptfds,
struct timespec *__timeout));
extern int pselect __P ((int __nfds, __fd_set *__readfds,
__fd_set *__writefds, __fd_set *__exceptfds,
struct timespec *__timeout));
+#endif
__END_DECLS