dd: fix unused imports on FreeBSD

This commit is contained in:
Miles Liu 2023-03-15 18:08:32 +08:00
parent f9dda68f1b
commit 1435d3573a
No known key found for this signature in database
GPG key ID: 4DB9B32F9B24A7A9

View file

@ -5,7 +5,7 @@ use crate::common::util::*;
use std::fs::{File, OpenOptions};
use std::io::{BufReader, Read, Write};
use std::path::PathBuf;
#[cfg(all(not(windows), not(target_os = "macos")))]
#[cfg(all(unix, not(target_os = "macos"), not(target_os = "freebsd")))]
use std::process::{Command, Stdio};
#[cfg(not(windows))]
use std::thread::sleep;