macOS doesn't have a compatible poll implementation.
poll
glib/gpoll.c actually indicates this but the transition to meson seems have missed the check for the required defines.
glib/gpoll.c
This currently breaks tap networking of QEMU on macOS: ref