aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/fortify-headers/patches/001-__ppoll_time64.patch
blob: 05f8c717148e22a4ce0270b6fa52b455a5f87cda (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/include/poll.h
+++ b/include/poll.h
@@ -39,7 +39,7 @@ _FORTIFY_FN(poll) int poll(struct pollfd
 	return __orig_poll(__f, __n, __s);
 }
 
-#ifdef _GNU_SOURCE
+#if defined(_GNU_SOURCE) && !(defined(_REDIR_TIME64) && _REDIR_TIME64)
 #undef ppoll
 _FORTIFY_FN(ppoll) int ppoll(struct pollfd *__f, nfds_t __n, const struct timespec *__s,
                              const sigset_t *__m)