diff --git a/crates/openshell-sandbox/src/lib.rs b/crates/openshell-sandbox/src/lib.rs index 1a49f7cd05..e696403f39 100644 --- a/crates/openshell-sandbox/src/lib.rs +++ b/crates/openshell-sandbox/src/lib.rs @@ -17,7 +17,9 @@ mod sidecar_control; use miette::{IntoDiagnostic, Result, WrapErr}; use std::future::Future; use std::sync::Arc; -use std::sync::atomic::{AtomicBool, AtomicU32, Ordering}; +#[cfg(target_os = "linux")] +use std::sync::atomic::Ordering; +use std::sync::atomic::{AtomicBool, AtomicU32}; use std::time::Duration; use tracing::{debug, info, warn};