diff --git a/libc/config/linux/x86_64/entrypoints.txt b/libc/config/linux/x86_64/entrypoints.txt --- a/libc/config/linux/x86_64/entrypoints.txt +++ b/libc/config/linux/x86_64/entrypoints.txt @@ -195,7 +195,7 @@ libc.src.unistd.write # wchar.h entrypoints - # libc.src.wchar.wctob + libc.src.wchar.wctob ) set(TARGET_LIBM_ENTRYPOINTS diff --git a/libc/include/CMakeLists.txt b/libc/include/CMakeLists.txt --- a/libc/include/CMakeLists.txt +++ b/libc/include/CMakeLists.txt @@ -184,6 +184,7 @@ .llvm-libc-macros.file_seek_macros .llvm-libc-macros.stdio_macros .llvm-libc-types.size_t + .llvm-libc-types.ssize_t .llvm-libc-types.FILE .llvm-libc-types.cookie_io_functions_t ) diff --git a/libc/src/wchar/CMakeLists.txt b/libc/src/wchar/CMakeLists.txt --- a/libc/src/wchar/CMakeLists.txt +++ b/libc/src/wchar/CMakeLists.txt @@ -7,5 +7,6 @@ wctob.h DEPENDS libc.include.stdio + libc.include.wchar libc.src.__support.wctype_utils )