[llvm] f6484bd - Fix issing header on z/OS
via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 14 09:29:14 PDT 2022
Author: serge-sans-paille
Date: 2022-03-14T17:29:08+01:00
New Revision: f6484bd3b04ce5f00ff314ac88431990240866bc
URL: https://github.com/llvm/llvm-project/commit/f6484bd3b04ce5f00ff314ac88431990240866bc
DIFF: https://github.com/llvm/llvm-project/commit/f6484bd3b04ce5f00ff314ac88431990240866bc.diff
LOG: Fix issing header on z/OS
Bug introduced in fbbc41f8dd23
Added:
Modified:
llvm/lib/Support/MemoryBuffer.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Support/MemoryBuffer.cpp b/llvm/lib/Support/MemoryBuffer.cpp
index 1b7883352dfd0..9872dfa78b261 100644
--- a/llvm/lib/Support/MemoryBuffer.cpp
+++ b/llvm/lib/Support/MemoryBuffer.cpp
@@ -31,6 +31,10 @@
#else
#include <io.h>
#endif
+
+#ifdef __MVS__
+#include "llvm/Support/AutoConvert.h"
+#endif
using namespace llvm;
//===----------------------------------------------------------------------===//
More information about the llvm-commits
mailing list