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

[Minios-devel] [UNIKRAFT LWIP PATCH] sys/socket.h: Add AF_UNIX and SCM_RIGHTS definitions



Signed-off-by: Mihai Pogonaru <pogonarumihai@xxxxxxxxx>
---
 include/sys/socket.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/include/sys/socket.h b/include/sys/socket.h
index 991ae3e..e691b79 100644
--- a/include/sys/socket.h
+++ b/include/sys/socket.h
@@ -56,6 +56,14 @@
 #define SOMAXCONN 128
 #endif
 
+#ifndef AF_UNIX
+#define AF_UNIX 1 /* Not supported/stub */
+#endif
+
+#ifndef SCM_RIGHTS
+#define SCM_RIGHTS 1 /* Not supported/stub */
+#endif
+
 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®.