diff --git a/lib/Target/Sparc/EmitAssembly.cpp b/lib/Target/Sparc/EmitAssembly.cpp index c823e91d1c9..fa2aeaa3b11 100644 --- a/lib/Target/Sparc/EmitAssembly.cpp +++ b/lib/Target/Sparc/EmitAssembly.cpp @@ -22,6 +22,7 @@ #include "llvm/Function.h" #include "llvm/Module.h" #include "llvm/SlotCalculator.h" +#include "llvm/Pass.h" #include "llvm/Assembly/Writer.h" #include "Support/StringExtras.h" #include "Support/HashExtras.h" diff --git a/lib/Target/Sparc/EmitBytecodeToAssembly.cpp b/lib/Target/Sparc/EmitBytecodeToAssembly.cpp index 388669e7e08..92420f9421f 100644 --- a/lib/Target/Sparc/EmitBytecodeToAssembly.cpp +++ b/lib/Target/Sparc/EmitBytecodeToAssembly.cpp @@ -7,6 +7,7 @@ //===----------------------------------------------------------------------===// #include "SparcInternals.h" +#include "llvm/Pass.h" #include "llvm/Bytecode/Writer.h" #include