diff --git a/src/types.rs b/src/types.rs index 72873675..e07721af 100644 --- a/src/types.rs +++ b/src/types.rs @@ -7,6 +7,7 @@ use std::convert::{TryFrom, TryInto}; target_arch = "powerpc" )))] use std::sync::atomic; +#[cfg(not(feature = "time"))] use std::time::SystemTime; #[cfg(doc)] use {crate::read::ZipFile, crate::write::FileOptions};