projects
/
openwrt
/
staging
/
stintel.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fortify-headers: fix inconsistent time_t version of ppoll
[openwrt/staging/stintel.git]
/
toolchain
/
fortify-headers
/
patches
/
001-__ppoll_time64.patch
1
--- a/include/poll.h
2
+++ b/include/poll.h
3
@@ -39,7 +39,7 @@ _FORTIFY_FN(poll) int poll(struct pollfd
4
return __orig_poll(__f, __n, __s);
5
}
6
7
-#ifdef _GNU_SOURCE
8
+#if defined(_GNU_SOURCE) && !_REDIR_TIME64
9
#undef ppoll
10
_FORTIFY_FN(ppoll) int ppoll(struct pollfd *__f, nfds_t __n, const struct timespec *__s,
11
const sigset_t *__m)