diff --git a/src/uucore/src/lib/features/splice.rs b/src/uucore/src/lib/features/splice.rs index c4193fd58a7..a58929578ce 100644 --- a/src/uucore/src/lib/features/splice.rs +++ b/src/uucore/src/lib/features/splice.rs @@ -15,6 +15,7 @@ use std::{ }, }; +#[cfg(any(target_os = "linux", target_os = "android"))] use crate::pipes::{pipe, splice, splice_exact}; const SPLICE_SIZE: usize = 1024 * 128;