diff --git a/libc/src/__support/StringUtil/tables/CMakeLists.txt b/libc/src/__support/StringUtil/tables/CMakeLists.txt index ad4007f494749..a61282048eddf 100644 --- a/libc/src/__support/StringUtil/tables/CMakeLists.txt +++ b/libc/src/__support/StringUtil/tables/CMakeLists.txt @@ -3,7 +3,7 @@ add_header_library( HDRS stdc_errors.h DEPENDS - libc.src.errno.errno + libc.hdr.errno_macros libc.src.__support.StringUtil.message_mapper ) diff --git a/libc/src/__support/StringUtil/tables/stdc_errors.h b/libc/src/__support/StringUtil/tables/stdc_errors.h index b2a0d36a53637..a326616f20ef5 100644 --- a/libc/src/__support/StringUtil/tables/stdc_errors.h +++ b/libc/src/__support/StringUtil/tables/stdc_errors.h @@ -9,6 +9,7 @@ #ifndef LLVM_LIBC_SRC___SUPPORT_STRINGUTIL_TABLES_STDC_ERRORS_H #define LLVM_LIBC_SRC___SUPPORT_STRINGUTIL_TABLES_STDC_ERRORS_H +#include "hdr/errno_macros.h" #include "src/__support/StringUtil/message_mapper.h" #include "src/__support/macros/config.h"