From 8961a992802495df764da33f4a7f45e4783fa594 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Wed, 18 Sep 2013 19:51:28 +0200 Subject: [PATCH] Add AF_LOCAL and PF_LOCAL. --- libc/include/sys/socket.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libc/include/sys/socket.h b/libc/include/sys/socket.h index 5defa821..e89d1412 100644 --- a/libc/include/sys/socket.h +++ b/libc/include/sys/socket.h @@ -132,6 +132,9 @@ struct linger #define PF_INET6 AF_INET6 #define PF_UNIX AF_UNIX +#define AF_LOCAL AF_UNIX +#define PF_LOCAL PF_UNIX + /* TODO: Nicely wrap this in an enum, as in glibc's header? */ /* TODO: Should SHUT_RDWR = SHUT_RD | SHUT_WR? */ #define SHUT_RD 0