aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-11-19 17:44:10 +0100
committerAlon Zakai <alonzakai@gmail.com>2012-11-19 17:44:10 +0100
commit3e6c99d06213e665b9f57ac0110d115f31492d56 (patch)
treed61e407d301a65cb3013c2a4015f5ef7c5ff8f3c
parent9611b18ee44436c62acf0c6131b2e7186a9f0671 (diff)
socket.h additions
-rw-r--r--system/include/sys/socket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/include/sys/socket.h b/system/include/sys/socket.h
index 0f347751..bd165272 100644
--- a/system/include/sys/socket.h
+++ b/system/include/sys/socket.h
@@ -11,6 +11,8 @@ extern "C" {
// Note that the values of these constants are mostly arbitrary numbers.
#define SOMAXCONN 128
+#define PF_LOCAL 1
+#define PF_UNIX PF_LOCAL
#define PF_INET 2
#define SO_BROADCAST 6