1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-04 23:17:46 +00:00

Fix a number of Windows build warnings

This commit is contained in:
Will Wykeham 2016-11-18 13:58:36 +00:00 committed by Roy Ivy III
parent 09b0b9ad78
commit cf2be8a6b1

View file

@ -14,6 +14,7 @@ use std::fs;
use std::io::{Error, ErrorKind};
use std::io::Result as IOResult;
use std::path::{Component, Path, PathBuf};
#[cfg(unix)]
use std::borrow::Cow;
pub fn resolve_relative_path<'a>(path: &'a Path) -> Cow<'a, Path> {