diff --git a/lib/Target/TargetSchedInfo.cpp b/lib/Target/TargetSchedInfo.cpp index c02654f03b6..41d013e6389 100644 --- a/lib/Target/TargetSchedInfo.cpp +++ b/lib/Target/TargetSchedInfo.cpp @@ -6,6 +6,7 @@ //===----------------------------------------------------------------------===// #include "llvm/Target/MachineSchedInfo.h" +#include "llvm/Target/TargetMachine.h" // External object describing the machine instructions // Initialized only when the TargetMachine class is created