Fixes a typo of the CONFIG_LWIP_SOCKET guard.
Signed-off-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
#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
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_ */