Skip to content

Commit 1136239

Browse files
authored
[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.
1 parent 5c8db7a commit 1136239

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libc/include/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,8 @@ add_header_macro(
200200
DEPENDS
201201
.llvm_libc_common_h
202202
.inttypes
203+
.llvm-libc-types.in_addr
204+
.llvm-libc-types.in_addr_t
203205
)
204206

205207
file(MAKE_DIRECTORY ${LIBC_INCLUDE_DIR}/netinet)

0 commit comments

Comments
 (0)