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
This commit is contained in:
Chris Lattner 2008-06-04 04:46:14 +00:00
parent d2947ee33e
commit 32a9e7a265
2 changed files with 2 additions and 2 deletions

View File

@ -19,6 +19,7 @@
#include "llvm/Target/TargetData.h" #include "llvm/Target/TargetData.h"
#include "llvm/Support/GetElementPtrTypeIterator.h" #include "llvm/Support/GetElementPtrTypeIterator.h"
#include "llvm/Support/MathExtras.h" #include "llvm/Support/MathExtras.h"
#include <cstring>
using namespace llvm; using namespace llvm;
/// getOpcode - If this is an Instruction or a ConstantExpr, return the /// getOpcode - If this is an Instruction or a ConstantExpr, return the

View File

@ -20,13 +20,12 @@
#include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringSet.h" #include "llvm/ADT/StringSet.h"
#include "llvm/Support/Streams.h" #include "llvm/Support/Streams.h"
#include <algorithm> #include <algorithm>
#include <cassert> #include <cassert>
#include <functional> #include <functional>
#include <stdexcept> #include <stdexcept>
#include <string> #include <string>
#include <typeinfo>
using namespace llvm; using namespace llvm;
namespace { namespace {