From bf809226de1065da088f437fff416aecf6a95ca9 Mon Sep 17 00:00:00 2001 From: Luke Date: Sun, 20 Sep 2020 00:34:36 +0100 Subject: [PATCH] LibC: Add SCM_RIGHTS to sockets.h and caddr_t to types.h --- Libraries/LibC/sys/socket.h | 2 ++ Libraries/LibC/sys/types.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Libraries/LibC/sys/socket.h b/Libraries/LibC/sys/socket.h index 8f57f29085..298b863388 100644 --- a/Libraries/LibC/sys/socket.h +++ b/Libraries/LibC/sys/socket.h @@ -120,8 +120,10 @@ enum { enum { SCM_TIMESTAMP, + SCM_RIGHTS, }; #define SCM_TIMESTAMP SCM_TIMESTAMP +#define SCM_RIGHTS SCM_RIGHTS struct sockaddr_storage { sa_family_t ss_family; diff --git a/Libraries/LibC/sys/types.h b/Libraries/LibC/sys/types.h index 35833fbf75..feed6d358a 100644 --- a/Libraries/LibC/sys/types.h +++ b/Libraries/LibC/sys/types.h @@ -48,6 +48,8 @@ typedef uint32_t gid_t; typedef int __pid_t; #define pid_t __pid_t +typedef char* caddr_t; + typedef int id_t; typedef __WINT_TYPE__ wint_t;