aboutsummaryrefslogtreecommitdiff
path: root/io/sys
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2012-01-08 11:55:32 -0500
committerUlrich Drepper <drepper@gmail.com>2012-01-08 11:55:32 -0500
commitd9a216c037590c414e4069afde01fde84794e0d6 (patch)
tree0c4cbf65be6c1a788741977cbd383def08406a78 /io/sys
parent15cfed3f93f60e79508043047065f189754f8e35 (diff)
downloadglibc-d9a216c037590c414e4069afde01fde84794e0d6.tar
glibc-d9a216c037590c414e4069afde01fde84794e0d6.tar.gz
glibc-d9a216c037590c414e4069afde01fde84794e0d6.tar.bz2
glibc-d9a216c037590c414e4069afde01fde84794e0d6.zip
Add checking versions of poll and ppoll
Diffstat (limited to 'io/sys')
-rw-r--r--io/sys/poll.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/io/sys/poll.h b/io/sys/poll.h
index a9bd18005a..c0a7e04099 100644
--- a/io/sys/poll.h
+++ b/io/sys/poll.h
@@ -71,4 +71,10 @@ extern int ppoll (struct pollfd *__fds, nfds_t __nfds,
__END_DECLS
+
+/* Define some inlines helping to catch common problems. */
+#if __USE_FORTIFY_LEVEL > 0 && defined __extern_always_inline
+# include <bits/poll2.h>
+#endif
+
#endif /* sys/poll.h */