aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/fortify-headers/patches/001-__ppoll_time64.patch
blob: 9c6fea3e661d7ba3683dd89c5aab704e11f46ea3 (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) && !_REDIR_TIME64
 #undef ppoll
 _FORTIFY_FN(ppoll) int ppoll(struct pollfd *__f, nfds_t __n, const struct timespec *__s,
                              const sigset_t *__m)