diff options
| author | Kyle Evans <kevans@FreeBSD.org> | 2024-12-14 04:15:19 +0000 |
|---|---|---|
| committer | Kyle Evans <kevans@FreeBSD.org> | 2024-12-14 04:15:19 +0000 |
| commit | 212d7f439aa3fa276e87291c1e83545298381824 (patch) | |
| tree | a445f028b4358b3c74cd04a5388f315928d18a57 /include/ssp | |
| parent | 35e63136a8c264b96cc07c1a2cd51e5894cfa67c (diff) | |
Diffstat (limited to 'include/ssp')
| -rw-r--r-- | include/ssp/poll.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ssp/poll.h b/include/ssp/poll.h index 815e73eb46b7..231fef3ef364 100644 --- a/include/ssp/poll.h +++ b/include/ssp/poll.h @@ -42,7 +42,7 @@ __ssp_redirect_raw_impl(int, poll, poll, return (__ssp_real(poll)(fds, nfds, timeout)); } -#if __BSD_VISIBLE +#if _POSIX_C_SOURCE >= 202405 __ssp_redirect_raw_impl(int, ppoll, ppoll, (struct pollfd fds[], nfds_t nfds, const struct timespec *__restrict timeout, @@ -53,7 +53,7 @@ __ssp_redirect_raw_impl(int, ppoll, ppoll, return (__ssp_real(ppoll)(fds, nfds, timeout, newsigmask)); } -#endif /* __BSD_VISIBLE */ +#endif /* _POSIX_C_SOURCE >= 202405 */ __END_DECLS #endif /* __SSP_FORTIFY_LEVEL > 0 */ |
