Skip to content

Commit e6c7d5a

Browse files
committed
[libc] Add missing dependencies on getc and ungetc for GPU
Summary: These are required because we don't use the `file` interface.
1 parent df9d3c2 commit e6c7d5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libc/src/stdio/scanf_core/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ add_header_library(
6161
reader.h
6262
DEPENDS
6363
libc.src.__support.macros.attributes
64+
libc.src.stdio.getc
65+
libc.src.stdio.ungetc
6466
)
6567
elseif((TARGET libc.src.__support.File.file) OR (NOT LLVM_LIBC_FULL_BUILD))
6668
add_header_library(

0 commit comments

Comments
 (0)