mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:17:34 +00:00
LibC: Add ss_family to sockaddr_storage
I'm not exactly sure if this is in the right spot in the structure, especially since I read that this is supposed to be cast into other structures.
This commit is contained in:
parent
b3be275cf7
commit
9266006349
1 changed files with 1 additions and 0 deletions
|
@ -124,6 +124,7 @@ enum {
|
|||
#define SCM_TIMESTAMP SCM_TIMESTAMP
|
||||
|
||||
struct sockaddr_storage {
|
||||
sa_family_t ss_family;
|
||||
union {
|
||||
char data[sizeof(struct sockaddr_un)];
|
||||
void* alignment;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue