From: Chris Lattner Date: Wed, 4 Jun 2008 04:46:14 +0000 (+0000) Subject: Add #includes required by GCC 4.3, thanks for Zhongxing Xu X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=32a9e7a2654c4aab2e617fbe53140492b3d38066;p=oota-llvm.git Add #includes required by GCC 4.3, thanks for Zhongxing Xu for reporting this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51926 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/ValueTracking.cpp b/lib/Analysis/ValueTracking.cpp index 67e4aad4fd5..78a9c77c3fa 100644 --- a/lib/Analysis/ValueTracking.cpp +++ b/lib/Analysis/ValueTracking.cpp @@ -19,6 +19,7 @@ #include "llvm/Target/TargetData.h" #include "llvm/Support/GetElementPtrTypeIterator.h" #include "llvm/Support/MathExtras.h" +#include using namespace llvm; /// getOpcode - If this is an Instruction or a ConstantExpr, return the diff --git a/utils/TableGen/LLVMCConfigurationEmitter.cpp b/utils/TableGen/LLVMCConfigurationEmitter.cpp index 94c52d10849..f30c6ee0a83 100644 --- a/utils/TableGen/LLVMCConfigurationEmitter.cpp +++ b/utils/TableGen/LLVMCConfigurationEmitter.cpp @@ -20,13 +20,12 @@ #include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringSet.h" #include "llvm/Support/Streams.h" - #include #include #include #include #include - +#include using namespace llvm; namespace {