From: Simon Kuenzer Date: Mon, 17 Feb 2020 12:22:57 +0000 (+0100) Subject: sys/socket.h: Fix typo of guard: CONFIG_LWIP_SOCKET X-Git-Tag: RELEASE-0.4~1 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=3bababf2a508cf854cafe706172ccaab6792c6e1;p=unikraft%2Flibs%2Flwip.git sys/socket.h: Fix typo of guard: CONFIG_LWIP_SOCKET Fixes a typo of the CONFIG_LWIP_SOCKET guard. Signed-off-by: Simon Kuenzer Reviewed-by: Felipe Huici --- 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 -#if CONFIG_LWIP_SOCKETS +#if CONFIG_LWIP_SOCKET #if CONFIG_HAVE_LIBC #include #include -#endif +#endif /* CONFIG_HAVE_LIBC */ #include #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_ */