diff --git a/mlir/include/mlir/Support/LLVM.h b/mlir/include/mlir/Support/LLVM.h index 885521037f214c..b8f6bbeba94d97 100644 --- a/mlir/include/mlir/Support/LLVM.h +++ b/mlir/include/mlir/Support/LLVM.h @@ -27,6 +27,7 @@ // Workaround for clang-5 (PR41549) #if defined(__clang_major__) #if __clang_major__ <= 5 +#include "llvm/ADT/DenseMapInfo.h" #include "llvm/ADT/SmallVector.h" #endif #endif