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

[UNIKRAFT/LIB-LWIP PATCH 4/4] include/netinet/in.h: Remove LwIP's socket header



From: Alexander Jung <alexander.jung@xxxxxxxxx>

Providing a global `netinet/in.h` header should no longer include
LwIP's socket structures and definitions since this is
implementation specific.

Signed-off-by: Alexander Jung <alexander.jung@xxxxxxxxx>
---
 include/netinet/in.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/netinet/in.h b/include/netinet/in.h
index 18ee075..9192292 100644
--- a/include/netinet/in.h
+++ b/include/netinet/in.h
@@ -4,7 +4,6 @@
 #include <uk/config.h>
 
 #ifdef CONFIG_LWIP_SOCKET
-#include <lwip/sockets.h>
 /* Taken from musl's netinet/in.h */
 #ifdef CONFIG_LWIP_IPV6
 #define IN6_IS_ADDR_MULTICAST(a) (((uint8_t *) (a))[0] == 0xff)
-- 
2.20.1




 


Rackspace

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