diff --git a/headers/posix/sys/socket.h b/headers/posix/sys/socket.h
index 1962ace..069f354 100644
a
|
b
|
|
13 | 13 | |
14 | 14 | |
15 | 15 | typedef uint32_t socklen_t; |
| 16 | typedef uint8_t sa_family_t; |
16 | 17 | |
17 | 18 | /* Address families */ |
18 | 19 | #define AF_UNSPEC 0 |
… |
… |
struct linger {
|
86 | 87 | |
87 | 88 | struct sockaddr { |
88 | 89 | uint8_t sa_len; |
89 | | uint8_t sa_family; |
| 90 | sa_family_t sa_family; |
90 | 91 | uint8_t sa_data[30]; |
91 | 92 | }; |
92 | 93 | |
93 | 94 | struct sockaddr_storage { |
94 | 95 | uint8_t ss_len; /* total length */ |
95 | | uint8_t ss_family; /* address family */ |
| 96 | sa_family_t ss_family; /* address family */ |
96 | 97 | uint8_t __ss_pad1[6]; /* align to quad */ |
97 | 98 | uint64_t __ss_pad2; /* force alignment to 64 bit */ |
98 | 99 | uint8_t __ss_pad3[112]; /* pad to a total of 128 bytes */ |