Skip to content

Commit 02d2cc5

Browse files
clamattiakartben
authored andcommitted
net: sockets: Enable gethostname even if socket-offloading is selected
Also allow `gethostname` to be compiled in, even when the socket offloading option is selected. Signed-off-by: Cla Mattia Galliard <[email protected]>
1 parent 2248396 commit 02d2cc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/net/lib/sockets/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ zephyr_library_include_directories(.)
99
zephyr_library_sources(
1010
getaddrinfo.c
1111
sockets.c
12+
sockets_misc.c
1213
)
1314

1415
if(NOT CONFIG_NET_SOCKETS_OFFLOAD)
1516
zephyr_library_sources(
1617
getnameinfo.c
17-
sockets_misc.c
1818
)
1919
endif()
2020

0 commit comments

Comments
 (0)