diff options
author | Rick Lei <ricklei@gmail.com> | 2015-01-14 15:11:43 +0100 |
---|---|---|
committer | Rick Lei <ricklei@gmail.com> | 2015-01-14 15:11:43 +0100 |
commit | c4378784ae2caec57634f9f04bcb3dcddc673f36 (patch) | |
tree | 70bbdb1c348803006a7cbf2092da65312720a386 /src/poll.c | |
parent | 133cee578e04e561bb17e37393bbf7e427522560 (diff) | |
download | fastd-c4378784ae2caec57634f9f04bcb3dcddc673f36.tar fastd-c4378784ae2caec57634f9f04bcb3dcddc673f36.zip |
Add Android 4.1+ support. See doc/README-Android.md for build HOWTO.
* Update CMake files to work with android-cmake
* Use unix domain socket for communicating with Android GUI
* May also run standalone but requires rooted Android device
Diffstat (limited to 'src/poll.c')
-rw-r--r-- | src/poll.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -81,7 +81,7 @@ static inline int epoll_wait_unblocked(int epfd, struct epoll_event *events, int void fastd_poll_init(void) { - ctx.epoll_fd = epoll_create1(0); + ctx.epoll_fd = epoll_create(1); if (ctx.epoll_fd < 0) exit_errno("epoll_create1"); |