From 2db68e26c449ab6f3651131c19805510fbeb3714 Mon Sep 17 00:00:00 2001
From: Xiang Xiao <xiaoxiang@xiaomi.com>
Date: Fri, 11 Aug 2023 23:24:43 +0800
Subject: [PATCH] Fix Error: luv/src/constants.c:674:11: error: implicit
 declaration of function 'getprotobyname'

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
---
 interpreters/luamodules/luv/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/interpreters/luamodules/luv/Kconfig b/interpreters/luamodules/luv/Kconfig
index 3b1693dd4..fafe2fc2b 100644
--- a/interpreters/luamodules/luv/Kconfig
+++ b/interpreters/luamodules/luv/Kconfig
@@ -8,6 +8,7 @@ config LUA_LUV_MODULE
 	default n
 	depends on INTERPRETERS_LUA && LIBUV
 	select LIBC_EXECFUNCS
+	select LIBC_NETDB
 	select NET
 	select NETDEV_IFINDEX
 	select NET_SOCKOPTS