split out iovec from sys_uio header
This commit is contained in:
@@ -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>"
|
||||
|
||||
@@ -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::{
|
||||
|
||||
Reference in New Issue
Block a user