1
Fork 0
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:
Luke 2020-09-09 08:43:53 +01:00 committed by Andreas Kling
parent b3be275cf7
commit 9266006349

View file

@ -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;