sock: fix abi

This commit is contained in:
Matheus
2025-12-27 17:24:59 -03:00
parent c9c2471796
commit 21a2241291
2 changed files with 9 additions and 4 deletions
+7 -3
View File
@@ -104,6 +104,8 @@ typedef struct {
#define SOL_SOCKET 1
typedef unsigned socklen_t;
typedef struct {
unsigned short type;
char addr[14];
@@ -122,11 +124,13 @@ typedef struct {
typedef struct {
void *addr;
size_t addrlen;
socklen_t addrlen;
iovec_t *iov;
size_t iovcount;
socklen_t iovcount;
int padding0;
void *msgctrl;
size_t ctrllen;
socklen_t ctrllen;
int padding1;
int flags;
} msghdr_t;