From 17cda594788d238911a186ec8025a92418d9e157 Mon Sep 17 00:00:00 2001 From: Jorge Ramirez-Ortiz Date: Tue, 8 Aug 2023 10:38:29 +0200 Subject: [PATCH] evl: update to Xenomai4 r46 Fix build issues. Signed-off-by: Jorge Ramirez-Ortiz --- spa/plugins/support/evl-system.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/spa/plugins/support/evl-system.c b/spa/plugins/support/evl-system.c index b8002482c..c2acb035b 100644 --- a/spa/plugins/support/evl-system.c +++ b/spa/plugins/support/evl-system.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include @@ -133,7 +134,7 @@ static int impl_pollfd_add(void *object, int pfd, int fd, uint32_t events, void e->fd = fd; e->events = events; e->data = data; - return evl_add_pollfd(pfd, fd, e->events); + return evl_add_pollfd(pfd, fd, e->events, evl_nil); } static int impl_pollfd_mod(void *object, int pfd, int fd, uint32_t events, void *data) @@ -147,7 +148,7 @@ static int impl_pollfd_mod(void *object, int pfd, int fd, uint32_t events, void e->events = events; e->data = data; - return evl_mod_pollfd(pfd, fd, e->events); + return evl_mod_pollfd(pfd, fd, e->events, evl_nil); } static int impl_pollfd_del(void *object, int pfd, int fd) @@ -261,7 +262,7 @@ static int impl_eventfd_create(void *object, int flags) struct impl *impl = object; int res; - res = evl_new_xbuf(1024, 1024, "xbuf-%d-%p-%d", impl->pid, impl, impl->n_xbuf); + res = evl_new_xbuf(1024, "xbuf-%d-%p-%d", impl->pid, impl, impl->n_xbuf); if (res < 0) return res;