diff --git a/crates/ecstore/src/disk/local.rs b/crates/ecstore/src/disk/local.rs index f262121c3..1e70a5816 100644 --- a/crates/ecstore/src/disk/local.rs +++ b/crates/ecstore/src/disk/local.rs @@ -62,6 +62,8 @@ use std::{ }; use time::OffsetDateTime; use tokio::fs::{self, File}; +#[cfg(not(unix))] +use tokio::io::AsyncReadExt; use tokio::io::{AsyncRead, AsyncSeekExt, AsyncWrite, AsyncWriteExt, ErrorKind, ReadBuf}; use tokio::sync::{Notify, RwLock}; use tokio::time::{Instant, Sleep, interval_at, timeout};