Add includes to get ptrdiff_t. This is needed by gcc-4.6 which has

done some more header trimming, resulting in cstdef being included
by less header files.

llvm-svn: 105786
This commit is contained in:
Duncan Sands 2010-06-10 10:13:58 +00:00
parent 572f232f18
commit b3b9053708
4 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,7 @@
#include <new>
#include <utility>
#include <cassert>
#include <cstddef>
#include <cstring>
namespace llvm {

View File

@ -17,6 +17,7 @@
#include "llvm/Support/type_traits.h"
#include <algorithm>
#include <cassert>
#include <cstddef>
#include <cstdlib>
#include <cstring>
#include <memory>

View File

@ -39,6 +39,7 @@
#define LLVM_ADT_ILIST_H
#include <cassert>
#include <cstddef>
#include <iterator>
namespace llvm {

View File

@ -27,6 +27,7 @@
#include "llvm/Support/Casting.h"
#include "llvm/ADT/PointerIntPair.h"
#include <cstddef>
#include <iterator>
namespace llvm {