1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:37:35 +00:00

LibC: Allow {AF,PF}_UNIX as well as {AF,PF}_LOCAL

Seems that these are equivilent. POSIX specifies _LOCAL, but a lot of
software uses _UNIX.
This commit is contained in:
Robin Burchell 2019-05-16 10:02:38 +02:00 committed by Andreas Kling
parent cf41b0ef17
commit 4dad585609

View file

@ -9,8 +9,10 @@ __BEGIN_DECLS
#define AF_MASK 0xff
#define AF_UNSPEC 0
#define AF_LOCAL 1
#define AF_UNIX AF_LOCAL
#define AF_INET 2
#define PF_LOCAL AF_LOCAL
#define PF_UNIX PF_LOCAL
#define PF_INET AF_INET
#define SOCK_TYPE_MASK 0xff