split out iovec from sys_uio header

This commit is contained in:
auronandace
2026-03-31 11:03:41 +01:00
parent d34872cb35
commit 5d22f7096b
9 changed files with 68 additions and 38 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
sys_includes = ["stddef.h", "stdint.h", "sys/types.h", "sys/uio.h"]
sys_includes = ["stddef.h", "stdint.h", "sys/types.h"]
include_guard = "_SYS_SOCKET_H"
after_includes = """
#include <bits/iovec.h> // for iovec
#include <bits/socklen-t.h> // for socklen_t
"""
trailer = "#include <bits/sys/socket.h>"
+1 -1
View File
@@ -6,7 +6,7 @@ use core::{mem, ptr};
use crate::{
error::ResultExt,
header::{bits_socklen_t::socklen_t, sys_uio::iovec},
header::{bits_iovec::iovec, bits_socklen_t::socklen_t},
platform::{
PalSocket, Sys,
types::{