[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT/LWIP PATCH] sys/socket.h: Fix typo of guard: CONFIG_LWIP_SOCKET
Fixes a typo of the CONFIG_LWIP_SOCKET guard. Signed-off-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx> --- include/sys/socket.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/sys/socket.h b/include/sys/socket.h index 8f6ecbc..b895660 100644 --- a/include/sys/socket.h +++ b/include/sys/socket.h @@ -38,11 +38,11 @@ extern "C" { #endif #include <uk/config.h> -#if CONFIG_LWIP_SOCKETS +#if CONFIG_LWIP_SOCKET #if CONFIG_HAVE_LIBC #include <fcntl.h> #include <poll.h> -#endif +#endif /* CONFIG_HAVE_LIBC */ #include <lwip/sockets.h> #ifndef SOCK_CLOEXEC @@ -102,9 +102,10 @@ int sendto(int s, const void *dataptr, size_t size, int flags, const struct sockaddr *to, socklen_t tolen); int socketpair(int domain, int type, int protocol, int sv[2]); +#endif /* CONFIG_LWIP_SOCKET */ + #ifdef __cplusplus } #endif -#endif /* CONFIG_LWIP_SOCKETS */ #endif /* _UK_LWIP_SOCKET_H_ */ -- 2.20.1 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |