only import the needed types for sys_utsname and sys_select

This commit is contained in:
auronandace
2025-12-07 17:04:59 +00:00
parent 64d688dc4e
commit bb7ad19792
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -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
+4 -1
View File
@@ -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;