commit | 893fd97cdcfbb040c938acac42658c885da879ee | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Feb 22 23:22:51 2017 -0800 |
committer | Elliott Hughes <enh@google.com> | Thu Feb 23 17:26:24 2017 -0800 |
tree | 0895bc2463681e35c48805993bbcc95c01b581e9 | |
parent | c84e8a507cd0384f9124d06ec6cc70807b4c293b [diff] [blame] |
Use <linux/eventpoll.h> to implement <sys/epoll.h>. Bug: https://github.com/android-ndk/ndk/issues/302 Test: builds Change-Id: Ia3074326a128c38f2488e342c028cc030801cfd9
diff --git a/libc/kernel/tools/defaults.py b/libc/kernel/tools/defaults.py index d5577da..620bb31 100644 --- a/libc/kernel/tools/defaults.py +++ b/libc/kernel/tools/defaults.py
@@ -75,6 +75,8 @@ "SIGRTMAX": "__SIGRTMAX", # We want to support both BSD and Linux member names in struct udphdr. "udphdr": "__kernel_udphdr", + # The kernel's struct epoll_event just has __u64 for the data. + "epoll_event": "__kernel_uapi_epoll_event", } # this is the set of known static inline functions that we want to keep