projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
expose memmem under baseline POSIX feature profile
[musl]
/
include
/
poll.h
diff --git
a/include/poll.h
b/include/poll.h
index
7af7372
..
472e4b8
100644
(file)
--- a/
include/poll.h
+++ b/
include/poll.h
@@
-28,8
+28,7
@@
extern "C" {
typedef unsigned long nfds_t;
typedef unsigned long nfds_t;
-struct pollfd
-{
+struct pollfd {
int fd;
short events;
short revents;
int fd;
short events;
short revents;
@@
-45,6
+44,12
@@
int poll (struct pollfd *, nfds_t, int);
int ppoll(struct pollfd *, nfds_t, const struct timespec *, const sigset_t *);
#endif
int ppoll(struct pollfd *, nfds_t, const struct timespec *, const sigset_t *);
#endif
+#if _REDIR_TIME64
+#ifdef _GNU_SOURCE
+__REDIR(ppoll, __ppoll_time64);
+#endif
+#endif
+
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
}
#endif