diff options
author | Ulrich Drepper <drepper@gmail.com> | 2012-01-08 11:55:32 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2012-01-08 11:55:32 -0500 |
commit | d9a216c037590c414e4069afde01fde84794e0d6 (patch) | |
tree | 0c4cbf65be6c1a788741977cbd383def08406a78 /io/sys/poll.h | |
parent | 15cfed3f93f60e79508043047065f189754f8e35 (diff) | |
download | glibc-d9a216c037590c414e4069afde01fde84794e0d6.tar.gz glibc-d9a216c037590c414e4069afde01fde84794e0d6.tar.xz glibc-d9a216c037590c414e4069afde01fde84794e0d6.zip |
Add checking versions of poll and ppoll
Diffstat (limited to 'io/sys/poll.h')
-rw-r--r-- | io/sys/poll.h | 6 |
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 */ |