only import the needed types for sys_utsname and sys_select
This commit is contained in:
@@ -16,7 +16,7 @@ use crate::{
|
||||
},
|
||||
sys_time::timeval,
|
||||
},
|
||||
platform::{self, types::*},
|
||||
platform::{self, types::c_int},
|
||||
};
|
||||
|
||||
// fd_set is also defined in C because cbindgen is incompatible with mem::size_of booo
|
||||
|
||||
@@ -5,7 +5,10 @@
|
||||
use crate::{
|
||||
error::ResultExt,
|
||||
out::Out,
|
||||
platform::{Pal, Sys, types::*},
|
||||
platform::{
|
||||
Pal, Sys,
|
||||
types::{c_char, c_int},
|
||||
},
|
||||
};
|
||||
|
||||
pub const UTSLENGTH: usize = 65;
|
||||
|
||||
Reference in New Issue
Block a user