Merge pull request #4512 from miles170/fix-dd-unused-imports

dd: fix unused imports on FreeBSD
This commit is contained in:
Sylvestre Ledru 2023-03-15 11:55:32 +01:00 committed by GitHub
commit 0519a83ddd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;