client: Use poll() as fallback when ppoll() is unavailable

On platforms like darwin that lack ppoll(), fall back to poll() with
a millisecond timeout. Since the ppoll() call uses a NULL signal mask,
the behavior is equivalent.

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
This commit is contained in:
Jeremy Huddleston Sequoia 2026-04-19 10:35:49 -07:00
parent 03e68b01ac
commit 2454dd0eec
2 changed files with 17 additions and 0 deletions

View file

@ -51,6 +51,7 @@ have_funcs = [
'getpeereid',
'mkostemp',
'posix_fallocate',
'ppoll',
'prctl',
'memfd_create',
'mremap',