diff options
-rw-r--r-- | include/llvm/Target/TargetData.h | 4 | ||||
-rw-r--r-- | lib/Target/PowerPC/PPCISelLowering.cpp | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetData.h b/include/llvm/Target/TargetData.h index 9c8b1d3a2a..c91c11a406 100644 --- a/include/llvm/Target/TargetData.h +++ b/include/llvm/Target/TargetData.h @@ -23,12 +23,14 @@ #include "llvm/Pass.h" #include "llvm/Support/DataTypes.h" #include "llvm/ADT/SmallVector.h" -#include "llvm/DerivedTypes.h" #include <string> namespace llvm { class Value; +class Type; +class IntegerType; +class StructType; class StructLayout; class GlobalVariable; diff --git a/lib/Target/PowerPC/PPCISelLowering.cpp b/lib/Target/PowerPC/PPCISelLowering.cpp index bf562b500e..c8d0a0bfb4 100644 --- a/lib/Target/PowerPC/PPCISelLowering.cpp +++ b/lib/Target/PowerPC/PPCISelLowering.cpp @@ -32,6 +32,7 @@ #include "llvm/Support/MathExtras.h" #include "llvm/Target/TargetOptions.h" #include "llvm/Support/CommandLine.h" +#include "llvm/DerivedTypes.h" using namespace llvm; static cl::opt<bool> EnablePPCPreinc("enable-ppc-preinc", |