[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT/LIBLWIP PATCH 2/3] Add AF_UNIX macro definition.



Signed-off-by: Felipe Huici <felipe.huici@xxxxxxxxx>
---
 include/sys/socket.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/sys/socket.h b/include/sys/socket.h
index 991ae3e..03ed9eb 100644
--- a/include/sys/socket.h
+++ b/include/sys/socket.h
@@ -56,6 +56,11 @@
 #define SOMAXCONN 128
 #endif
 
+#define PF_LOCAL        1
+#define AF_LOCAL        PF_LOCAL
+#define AF_UNIX         AF_LOCAL
+
+
 int socket(int domain, int type, int protocol);
 int accept(int s, struct sockaddr *addr, socklen_t *addrlen);
 int bind(int s, const struct sockaddr *name, socklen_t namelen);
-- 
2.11.0


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.