From b6e69a39dd211626159865f1ece4989c7552a9ee Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 1 Oct 2014 12:51:56 +0200 Subject: swrap: Add support for eventfd with unsigned count variable. The prototype in glibc 2.20.90 changed. Signed-off-by: Andreas Schneider Reviewed-by: Stefan Metzmacher --- src/socket_wrapper.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/socket_wrapper.c b/src/socket_wrapper.c index 6a495b9..d5c343d 100644 --- a/src/socket_wrapper.c +++ b/src/socket_wrapper.c @@ -5024,7 +5024,11 @@ static int swrap_eventfd(int count, int flags) return fd; } +#ifdef HAVE_EVENTFD_UNSIGNED_INT +int eventfd(unsigned int count, int flags) +#else int eventfd(int count, int flags) +#endif { return swrap_eventfd(count, flags); } -- cgit