From 3d9e646c7c9f5552f4476306c8e712e3a5711fd0 Mon Sep 17 00:00:00 2001 From: Michael Jones Date: Mon, 20 Mar 2023 17:35:14 -0700 Subject: [PATCH] [libc][obvious] fix missing stdio dependency Differential Revision: https://reviews.llvm.org/D146482 --- libc/src/wchar/CMakeLists.txt | 1 + libc/test/src/wchar/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/libc/src/wchar/CMakeLists.txt b/libc/src/wchar/CMakeLists.txt index 58e168266829..5cf980e958a9 100644 --- a/libc/src/wchar/CMakeLists.txt +++ b/libc/src/wchar/CMakeLists.txt @@ -6,5 +6,6 @@ add_entrypoint_object( HDRS wctob.h DEPENDS + libc.include.stdio libc.src.__support.wctype_utils ) diff --git a/libc/test/src/wchar/CMakeLists.txt b/libc/test/src/wchar/CMakeLists.txt index 88b68c43491a..8b03002e9022 100644 --- a/libc/test/src/wchar/CMakeLists.txt +++ b/libc/test/src/wchar/CMakeLists.txt @@ -7,6 +7,7 @@ add_libc_unittest( SRCS btowc_test.cpp DEPENDS + libc.include.stdio libc.src.wchar.btowc )