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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105786 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan Sands 2010-06-10 10:13:58 +00:00
parent ee65db3add
commit 345b378309
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 {