summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2018-05-09 17:14:01 -0300
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2018-05-09 17:28:44 -0300
commit98783c8b0a6cef01fb9eee0d040f6045cf9c8cb2 (patch)
tree4266c19d811cd4cc347fd6533cb66ce1ab97e413
parent4f989aa3009ff3732e09f312f1125b2e3c800024 (diff)
downloadmullvadvpn-98783c8b0a6cef01fb9eee0d040f6045cf9c8cb2.tar.xz
mullvadvpn-98783c8b0a6cef01fb9eee0d040f6045cf9c8cb2.zip
Only import `Duration` on targets that need it
-rw-r--r--talpid-core/src/tunnel/openvpn.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/talpid-core/src/tunnel/openvpn.rs b/talpid-core/src/tunnel/openvpn.rs
index a3d72814eb..55441da6df 100644
--- a/talpid-core/src/tunnel/openvpn.rs
+++ b/talpid-core/src/tunnel/openvpn.rs
@@ -9,6 +9,7 @@ use std::process::ExitStatus;
use std::sync::atomic::{AtomicBool, Ordering};
use std::sync::{mpsc, Arc};
use std::thread;
+#[cfg(unix)]
use std::time::Duration;
use talpid_ipc;