diff --git a/src/unix/mod.rs b/src/unix/mod.rs index d12b9be8c856..beb154378c65 100644 --- a/src/unix/mod.rs +++ b/src/unix/mod.rs @@ -1674,6 +1674,17 @@ cfg_if! { } } +cfg_if! { + if #[cfg(not(any( + target_os = "emscripten", + target_os = "macos", + )))] { + extern "C" { + pub fn sigqueue(pid: pid_t, sig: c_int, value: crate::sigval) -> c_int; + } + } +} + cfg_if! { if #[cfg(not(target_os = "android"))] { extern "C" {