diff --git a/src/sys/unix/selector/kqueue.rs b/src/sys/unix/selector/kqueue.rs index 736510214..36c04212c 100644 --- a/src/sys/unix/selector/kqueue.rs +++ b/src/sys/unix/selector/kqueue.rs @@ -539,6 +539,8 @@ pub mod event { libc::EV_FLAG1, libc::EV_ERROR, libc::EV_EOF, + // Not stable across OS versions on OpenBSD. + #[cfg(not(target_os = "openbsd"))] libc::EV_SYSFLAGS, #[cfg(any( target_os = "ios",