diff --git a/libc/src/stdio/scanf_core/CMakeLists.txt b/libc/src/stdio/scanf_core/CMakeLists.txt index 35b8b3d318a9f..96e0e1400cb6a 100644 --- a/libc/src/stdio/scanf_core/CMakeLists.txt +++ b/libc/src/stdio/scanf_core/CMakeLists.txt @@ -61,6 +61,8 @@ add_header_library( reader.h DEPENDS libc.src.__support.macros.attributes + libc.src.stdio.getc + libc.src.stdio.ungetc ) elseif((TARGET libc.src.__support.File.file) OR (NOT LLVM_LIBC_FULL_BUILD)) add_header_library(