Skip to content

Commit 42017c6

Browse files
authored
[libc] Add missing libc.include.inttypes for targets including <inttypes.h>. (llvm#150345)
1 parent afbf86e commit 42017c6

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

libc/include/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ add_header_macro(
187187
arpa/inet.h
188188
DEPENDS
189189
.llvm_libc_common_h
190+
.inttypes
190191
)
191192

192193
add_header_macro(

libc/src/stdio/printf_core/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ add_header_library(
4444
HDRS
4545
core_structs.h
4646
DEPENDS
47+
libc.include.inttypes
4748
libc.src.__support.CPP.string_view
4849
libc.src.__support.FPUtil.fp_bits
4950
)
@@ -97,6 +98,7 @@ add_header_library(
9798
.core_structs
9899
.printf_config
99100
.writer
101+
libc.include.inttypes
100102
libc.src.__support.big_int
101103
libc.src.__support.common
102104
libc.src.__support.CPP.limits

0 commit comments

Comments
 (0)