diff --git a/include/llvm/Bytecode/WriteBytecodePass.h b/include/llvm/Bytecode/WriteBytecodePass.h index 3e6d7fef715..ffb0e9af3cf 100644 --- a/include/llvm/Bytecode/WriteBytecodePass.h +++ b/include/llvm/Bytecode/WriteBytecodePass.h @@ -10,6 +10,7 @@ #include "llvm/Pass.h" #include "llvm/Bytecode/Writer.h" +#include class WriteBytecodePass : public Pass { std::ostream *Out; // ostream to print on diff --git a/lib/VMCore/Constants.cpp b/lib/VMCore/Constants.cpp index dcce830d16c..e918a248550 100644 --- a/lib/VMCore/Constants.cpp +++ b/lib/VMCore/Constants.cpp @@ -12,6 +12,7 @@ #include "llvm/SlotCalculator.h" #include "Support/StringExtras.h" #include +#include using std::map; using std::pair;