signal: export SIGINFO on supported platforms.

This commit is contained in:
Alan Somers
2018-09-10 11:30:07 -07:00
committed by Carl Lerche
parent f0ac62151b
commit d9edc26e97
+3
View File
@@ -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)