From 4f5dad565bd1b03b059d9f3f72ce8a7e67154cee Mon Sep 17 00:00:00 2001 From: Arnaud Gourlay Date: Thu, 15 Aug 2024 16:58:19 +0200 Subject: [PATCH] fix windows build --- src/segment.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/segment.rs b/src/segment.rs index 628c1dd..707cb72 100644 --- a/src/segment.rs +++ b/src/segment.rs @@ -14,7 +14,7 @@ use std::time::Duration; use crate::mmap_view_sync::MmapViewSync; use byteorder::{ByteOrder, LittleEndian}; #[cfg(not(unix))] -use fs4::FileExt; +use fs4::fs_std::FileExt; /// The magic bytes and version tag of the segment header. const SEGMENT_MAGIC: &[u8; 3] = b"wal";