From b402bbdd04bf8459d43067d2b8d8266925073cff Mon Sep 17 00:00:00 2001 From: Job Hernandez Date: Sat, 5 Oct 2024 18:40:13 -0700 Subject: [PATCH] fix build error --- libc/src/__support/StringUtil/tables/CMakeLists.txt | 2 +- libc/src/__support/StringUtil/tables/stdc_errors.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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"