summaryrefslogtreecommitdiff
path: root/components/net/sal_socket/socket/net_netdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'components/net/sal_socket/socket/net_netdb.c')
-rw-r--r--components/net/sal_socket/socket/net_netdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/net/sal_socket/socket/net_netdb.c b/components/net/sal_socket/socket/net_netdb.c
index 5acab36403..1f10afe337 100644
--- a/components/net/sal_socket/socket/net_netdb.c
+++ b/components/net/sal_socket/socket/net_netdb.c
@@ -38,6 +38,7 @@ int gethostbyname_r(const char *name, struct hostent *ret, char *buf,
{
return sal_gethostbyname_r(name, ret, buf, buflen, result, h_errnop);
}
+RTM_EXPORT(gethostbyname_r);
void freeaddrinfo(struct addrinfo *ai)
{