[llvm] 739572b - Missing include in Support/Host.cpp under __MVS__

via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 16 02:19:35 PDT 2022


Author: serge-sans-paille
Date: 2022-03-16T10:19:04+01:00
New Revision: 739572b40b469b820ed50585093ecc17ff4bd1ec

URL: https://github.com/llvm/llvm-project/commit/739572b40b469b820ed50585093ecc17ff4bd1ec
DIFF: https://github.com/llvm/llvm-project/commit/739572b40b469b820ed50585093ecc17ff4bd1ec.diff

LOG: Missing include in Support/Host.cpp under __MVS__

Added: 
    

Modified: 
    llvm/lib/Support/Host.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp
index 595bc1a51b906..a4a375ee7cfa4 100644
--- a/llvm/lib/Support/Host.cpp
+++ b/llvm/lib/Support/Host.cpp
@@ -33,6 +33,9 @@
 #ifdef _MSC_VER
 #include <intrin.h>
 #endif
+#ifdef __MVS__
+#include "llvm/Support/BCD.h"
+#endif
 #if defined(__APPLE__) && (!defined(__x86_64__))
 #include <mach/host_info.h>
 #include <mach/mach.h>


        


More information about the llvm-commits mailing list