Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix another error caused by the uapi and libc headers mixup
print_epoll_data() expects epoll_event.data to be a union, but the bundled/uapi linux/eventpoll.h defines it as a __u64 int. on android, that union is defined in bits/epoll_event.h which is included from sys/epoll.h via linux/eventpoll.h, but the bundled linux/eventpoll.h shadows it, and so src/epoll.c ends up with the uapi definition of 'struct epoll_event' and no definition at all of the epoll_data_t union. use a kludge to continue printing the u64 .data as a structure made up of a u32 and a u64 field -- which was quite dumb in the first place, but I guess they have tests checking for that *exact* output.
- Loading branch information