From: Vinson Lee <vlee@xxxxxxxxxxx> Signed-off-by: Vinson Lee <vlee@xxxxxxxxxxx> --- include/compat.h | 5 +++++ syscalls/poll.c | 1 + 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/include/compat.h b/include/compat.h index 589beac..2eb8691 100644 --- a/include/compat.h +++ b/include/compat.h @@ -1024,3 +1024,8 @@ struct kvm_get_htab_fd { #ifndef CLOCK_BOOTTIME #define CLOCK_BOOTTIME 7 #endif + +/* asm-generic/poll.h */ +#ifndef POLLFREE +#define POLLFREE 0x4000 +#endif diff --git a/syscalls/poll.c b/syscalls/poll.c index ad97482..5b863c5 100644 --- a/syscalls/poll.c +++ b/syscalls/poll.c @@ -7,6 +7,7 @@ #include "random.h" #include "sanitise.h" #include "utils.h" +#include "compat.h" static const unsigned long poll_events[] = { POLLIN, POLLPRI, POLLOUT, POLLERR, -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe trinity" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html