diff --git a/llvm/include/llvm/IR/ModRef.h b/llvm/include/llvm/IR/ModRef.h index 1e314272e05ce7..fe0c48339318a8 100644 --- a/llvm/include/llvm/IR/ModRef.h +++ b/llvm/include/llvm/IR/ModRef.h @@ -15,6 +15,8 @@ #define LLVM_IR_MODREF_H #include "llvm/ADT/BitmaskEnum.h" +#include "llvm/ADT/Sequence.h" +#include "llvm/Support/raw_ostream.h" namespace llvm { diff --git a/llvm/include/llvm/Support/SaveAndRestore.h b/llvm/include/llvm/Support/SaveAndRestore.h index 2f5dc04e4bede7..9ceceb2a571b15 100644 --- a/llvm/include/llvm/Support/SaveAndRestore.h +++ b/llvm/include/llvm/Support/SaveAndRestore.h @@ -15,6 +15,8 @@ #ifndef LLVM_SUPPORT_SAVEANDRESTORE_H #define LLVM_SUPPORT_SAVEANDRESTORE_H +#include + namespace llvm { /// A utility class that uses RAII to save and restore the value of a variable.