split out uint32_t for socklen_t for sys_socket header

This commit is contained in:
auronandace
2026-06-17 09:18:37 +01:00
parent 6c49b9acac
commit 7315ad5155
6 changed files with 31 additions and 12 deletions
+1 -3
View File
@@ -5,10 +5,8 @@
# - "The <sys/socket.h> header shall define the size_t and ssize_t types as described in <sys/types.h>."
# - "Inclusion of <sys/socket.h> may also make visible all symbols from <sys/uio.h>."
#
# TODO split out uint32_t from stdint.h in bits/socklen-t.h
#
# bits/iovec.h brings in size_t
# bits/socklen_t brings in stdint.h for uint32_t for socklen_t
# bits/socklen_t brings in bits/uint32-t.h for uint32_t for socklen_t
include_guard = "_RELIBC_SYS_SOCKET_H"
after_includes = """
#include <bits/iovec.h> // for iovec from sys/uio.h