summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Libraries/LibC/sys/socket.h2
-rw-r--r--Libraries/LibC/sys/types.h2
2 files changed, 4 insertions, 0 deletions
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;