[Bug 265024] multimedia/v4l-utils: fails to build with libepoll-shim 0.0.20220703

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 04 Jul 2022 09:33:18 UTC

--- Comment #3 from Hans Petter Selasky <hselasky@FreeBSD.org> ---

Can epollshim do like this, for "close" and all other similar functions:

#define close(...) close(__VA_ARGS__)
static inline int close(int fd)
#undef close

Maybe you need a similar hack before including the global definition of close
and friends too:

#define close(...) close_not_used(__VA_ARGS__)
#include <unistd.h>
#undef close


You are receiving this mail because:
You are the assignee for the bug.