Skip to content

Commit 69371e6

Browse files
authored
[bazel][libc] Fix 8acfc36 (llvm#203443)
Add extra htons yaml deps
1 parent 56f8fbb commit 69371e6

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

utils/bazel/llvm-project-overlay/libc/BUILD.bazel

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,10 @@ LLVM_LIBC_HEADERS = [
168168
"sys/syscall",
169169
has_def_template = True,
170170
),
171-
libc_header_info("arpa/inet"),
171+
libc_header_info(
172+
"arpa/inet",
173+
other_srcs = ["include/htons-family.yaml"],
174+
),
172175
libc_header_info("complex"),
173176
libc_header_info("ctype"),
174177
libc_header_info("dirent"),
@@ -182,7 +185,10 @@ LLVM_LIBC_HEADERS = [
182185
libc_header_info("inttypes"),
183186
libc_header_info("limits"),
184187
libc_header_info("locale"),
185-
libc_header_info("netinet/in"),
188+
libc_header_info(
189+
"netinet/in",
190+
other_srcs = ["include/htons-family.yaml"],
191+
),
186192
libc_header_info("nl_types"),
187193
libc_header_info("poll"),
188194
libc_header_info("pthread"),

0 commit comments

Comments
 (0)