[libc-commits] [libc] 0cdb978 - [libc] Add missing include to __support/StringUtil/tables/stdc_errors.h. (#111271)

via libc-commits libc-commits at lists.llvm.org
Sat Oct 5 18:44:20 PDT 2024


Author: Job Henandez Lara
Date: 2024-10-05T21:44:17-04:00
New Revision: 0cdb978906b060508204788a8cfcb5c7d9155e32

URL: https://github.com/llvm/llvm-project/commit/0cdb978906b060508204788a8cfcb5c7d9155e32
DIFF: https://github.com/llvm/llvm-project/commit/0cdb978906b060508204788a8cfcb5c7d9155e32.diff

LOG: [libc] Add missing include to __support/StringUtil/tables/stdc_errors.h. (#111271)

Failed build bots:
https://lab.llvm.org/buildbot/#/builders/11/builds/6164
https://lab.llvm.org/buildbot/#/builders/73/builds/6651

Added: 
    

Modified: 
    libc/src/__support/StringUtil/tables/CMakeLists.txt
    libc/src/__support/StringUtil/tables/stdc_errors.h

Removed: 
    


################################################################################
diff  --git a/libc/src/__support/StringUtil/tables/CMakeLists.txt b/libc/src/__support/StringUtil/tables/CMakeLists.txt
index ad4007f494749e..a61282048eddf8 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 b2a0d36a53637c..a326616f20ef52 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"
 


        


More information about the libc-commits mailing list