wayland: Add a sigtimedwait() implementation for OpenBSD

sigtimedwait() is an optional part of POSIX.1-2001, and OpenBSD doesn't implement it. Add a replacement implementation based on https://comp.unix.programmer.narkive.com/rEDH0sPT/sigtimedwait-implementation

(backported from commit 1049426a76)
(cherry picked from commit d31d98d436)
This commit is contained in:
Frank Praznik
2025-08-29 13:12:05 -04:00
committed by Ozkan Sezer
parent f610a3d66b
commit 2a10b8c4e7
6 changed files with 54 additions and 4 deletions

View File

@@ -193,6 +193,7 @@
#cmakedefine HAVE_MEMFD_CREATE 1
#cmakedefine HAVE_POSIX_FALLOCATE 1
#cmakedefine HAVE_SIGACTION 1
#cmakedefine HAVE_SIGTIMEDWAIT 1
#cmakedefine HAVE_SA_SIGACTION 1
#cmakedefine HAVE_SETJMP 1
#cmakedefine HAVE_NANOSLEEP 1