Add AF_LOCAL and PF_LOCAL.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-09-18 19:51:28 +02:00
parent 3166413eef
commit 8961a99280
1 changed files with 3 additions and 0 deletions

View File

@ -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