From d9edc26e974020ca4d7d4737c282f9093fcd82a7 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Sun, 19 Aug 2018 10:58:11 -0600 Subject: [PATCH] signal: export SIGINFO on supported platforms. --- src/unix.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/unix.rs b/src/unix.rs index 6350f1cd6..5d5f5ee80 100644 --- a/src/unix.rs +++ b/src/unix.rs @@ -32,6 +32,9 @@ use tokio_io::IoFuture; pub use self::libc::{SIGUSR1, SIGUSR2, SIGINT, SIGTERM}; pub use self::libc::{SIGALRM, SIGHUP, SIGPIPE, SIGQUIT, SIGTRAP}; +#[cfg(any(target_os = "dragonfly", target_os = "freebsd", target_os = "macos", + target_os = "netbsd", target_os = "openbsd"))] +pub use self::libc::SIGINFO; // Number of different unix signals // (FreeBSD has 33)