mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:27:45 +00:00
LibC: Add SCM_RIGHTS to sockets.h and caddr_t to types.h
This commit is contained in:
parent
1ec59f28ce
commit
bf809226de
2 changed files with 4 additions and 0 deletions
|
@ -120,8 +120,10 @@ enum {
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
SCM_TIMESTAMP,
|
SCM_TIMESTAMP,
|
||||||
|
SCM_RIGHTS,
|
||||||
};
|
};
|
||||||
#define SCM_TIMESTAMP SCM_TIMESTAMP
|
#define SCM_TIMESTAMP SCM_TIMESTAMP
|
||||||
|
#define SCM_RIGHTS SCM_RIGHTS
|
||||||
|
|
||||||
struct sockaddr_storage {
|
struct sockaddr_storage {
|
||||||
sa_family_t ss_family;
|
sa_family_t ss_family;
|
||||||
|
|
|
@ -48,6 +48,8 @@ typedef uint32_t gid_t;
|
||||||
typedef int __pid_t;
|
typedef int __pid_t;
|
||||||
#define pid_t __pid_t
|
#define pid_t __pid_t
|
||||||
|
|
||||||
|
typedef char* caddr_t;
|
||||||
|
|
||||||
typedef int id_t;
|
typedef int id_t;
|
||||||
|
|
||||||
typedef __WINT_TYPE__ wint_t;
|
typedef __WINT_TYPE__ wint_t;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue