kqueue: Add support for Haiku-specific object types.

Apple Darwin also extends kqueue to support other object types,
like Mach ports, so we might as well do the same for Haiku (Be)
object types.

Fixes #19974.
This commit is contained in:
Augustin Cavalier
2026-07-15 20:01:11 -04:00
parent 2cbf45bc81
commit f03c1740a5
2 changed files with 26 additions and 5 deletions
+4
View File
@@ -41,6 +41,10 @@
#define EVFILT_WRITE (-2)
#define EVFILT_PROC (-5)
#define EVFILT_HAIKU_SEM (-11)
#define EVFILT_HAIKU_PORT_READ (-12)
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#define EV_SET(kevp_, a, b, c, d, e, f) do { \
*(kevp_) = (struct kevent){ \