Merge branch 'only-needed-sys-un-uio' into 'master'

only import the needed types in sys_un and sys_uio

See merge request redox-os/relibc!770
This commit is contained in:
Jeremy Soller
2025-12-02 09:54:04 -07:00
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -7,7 +7,10 @@ use core::slice;
use crate::{
header::{errno, unistd},
platform::{self, types::*},
platform::{
self,
types::{c_int, c_void, off_t, size_t, ssize_t},
},
};
pub const IOV_MAX: c_int = 1024;
+1 -1
View File
@@ -2,7 +2,7 @@
//!
//! See <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/sys_un.h.html>.
use crate::{header::sys_socket::sa_family_t, platform::types::*};
use crate::{header::sys_socket::sa_family_t, platform::types::c_char};
/// See <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/sys_un.h.html>.
#[repr(C)]