Fix compilation for non-Unix platforms

This commit is contained in:
Alexandre Bury 2018-07-19 20:50:46 -07:00
parent 5dfc27bd9f
commit f4530d688b

View File

@ -12,6 +12,8 @@ use std::sync::Arc;
use std::thread; use std::thread;
use crossbeam_channel::{Receiver, Sender}; use crossbeam_channel::{Receiver, Sender};
#[cfg(unix)]
use signal_hook::iterator::Signals; use signal_hook::iterator::Signals;
use event::Event; use event::Event;