[libc] Add missing dependencies for arpa/inet.h header. (#168951)

Add dependency on headers with `in_addr` and `in_addr_t` type
definitions to ensure that these headers will be properly installed by
"install-libc" CMake target.
This commit is contained in:
Alexey Samsonov
2025-11-20 14:04:05 -08:00
committed by GitHub
parent 5c8db7ab88
commit 1136239561

View File

@@ -200,6 +200,8 @@ add_header_macro(
DEPENDS
.llvm_libc_common_h
.inttypes
.llvm-libc-types.in_addr
.llvm-libc-types.in_addr_t
)
file(MAKE_DIRECTORY ${LIBC_INCLUDE_DIR}/netinet)