1
Fork 0

Fix broken auto-mac-ios-opt build

This commit is contained in:
Nikita Baksalyar 2016-02-03 16:45:34 +03:00
parent bb6e646c7b
commit fae883c113
No known key found for this signature in database
GPG key ID: 3EEA378A0EA758DA
2 changed files with 23 additions and 27 deletions

View file

@ -8,6 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use prelude::v1::*;
use io::prelude::*;
use os::unix::prelude::*;
@ -23,11 +24,6 @@ use sys::fd::FileDesc;
use sys::platform::raw;
use sys::{cvt, cvt_r};
use sys_common::{AsInner, FromInner};
use vec::Vec;
#[cfg(target_os = "solaris")]
use core_collections::borrow::ToOwned;
#[cfg(target_os = "solaris")]
use boxed::Box;
pub struct File(FileDesc);