aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic/socketbits.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/socketbits.h')
-rw-r--r--sysdeps/generic/socketbits.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/generic/socketbits.h b/sysdeps/generic/socketbits.h
index db1a0ac7ee..5d85a8e079 100644
--- a/sysdeps/generic/socketbits.h
+++ b/sysdeps/generic/socketbits.h
@@ -50,6 +50,7 @@ enum __socket_type
#define PF_UNSPEC 0 /* Unspecified. */
#define PF_LOCAL 1 /* Local to host (pipes and file-domain). */
#define PF_UNIX PF_LOCAL /* Old BSD name for PF_LOCAL. */
+#define PF_FILE PF_LOCAL /* POSIX name for PF_LOCAL. */
#define PF_INET 2 /* IP protocol family. */
#define PF_IMPLINK 3 /* ARPAnet IMP protocol. */
#define PF_PUP 4 /* PUP protocols. */
@@ -82,6 +83,7 @@ enum __socket_type
#define AF_UNSPEC PF_UNSPEC
#define AF_LOCAL PF_LOCAL
#define AF_UNIX PF_UNIX
+#define AF_FILE PF_FILE
#define AF_INET PF_INET
#define AF_IMPLINK PF_IMPLINK
#define AF_PUP PF_PUP