[llvm] 0fe271c - [SystemZ][z/OS] Add missing include header to AutoConvert.cpp to fix build (#84909)
    via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Mar 12 07:56:54 PDT 2024
    
    
  
Author: Fanbo Meng
Date: 2024-03-12T10:56:51-04:00
New Revision: 0fe271c35368a9190661bcca87101fc0916d6a8b
URL: https://github.com/llvm/llvm-project/commit/0fe271c35368a9190661bcca87101fc0916d6a8b
DIFF: https://github.com/llvm/llvm-project/commit/0fe271c35368a9190661bcca87101fc0916d6a8b.diff
LOG: [SystemZ][z/OS] Add missing include header to AutoConvert.cpp to fix build (#84909)
ba13fa2a5d57581bff1a7e9322234af30f4882f6
added usages of `errnoAsErrorCode()` to AutoConvert.cpp, need to include
Error.h header to fix build failure.
Added: 
    
Modified: 
    llvm/lib/Support/AutoConvert.cpp
Removed: 
    
################################################################################
diff  --git a/llvm/lib/Support/AutoConvert.cpp b/llvm/lib/Support/AutoConvert.cpp
index 74842e9167bde5..c509284ee916ef 100644
--- a/llvm/lib/Support/AutoConvert.cpp
+++ b/llvm/lib/Support/AutoConvert.cpp
@@ -14,6 +14,7 @@
 #ifdef __MVS__
 
 #include "llvm/Support/AutoConvert.h"
+#include "llvm/Support/Error.h"
 #include <cassert>
 #include <fcntl.h>
 #include <sys/stat.h>
        
    
    
More information about the llvm-commits
mailing list