From 92660063494faba74b97da697b5b2b9e60fa1043 Mon Sep 17 00:00:00 2001 From: Luke Date: Wed, 9 Sep 2020 08:43:53 +0100 Subject: [PATCH] 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. --- Libraries/LibC/sys/socket.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Libraries/LibC/sys/socket.h b/Libraries/LibC/sys/socket.h index 8a820e5213..8f57f29085 100644 --- a/Libraries/LibC/sys/socket.h +++ b/Libraries/LibC/sys/socket.h @@ -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;