summaryrefslogtreecommitdiff
path: root/include/llvm/Use.h
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2010-06-10 10:13:58 +0000
committerDuncan Sands <baldrick@free.fr>2010-06-10 10:13:58 +0000
commit345b378309eabd74a7a43f095dca9a4894bc371e (patch)
tree8399ce496a3fe97379fe94c1e8ffc70c207b7336 /include/llvm/Use.h
parentee65db3add855bfbc4ddc7e45926d1b9bafca8a4 (diff)
downloadllvm-345b378309eabd74a7a43f095dca9a4894bc371e.tar.gz
llvm-345b378309eabd74a7a43f095dca9a4894bc371e.tar.bz2
llvm-345b378309eabd74a7a43f095dca9a4894bc371e.tar.xz
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
Diffstat (limited to 'include/llvm/Use.h')
-rw-r--r--include/llvm/Use.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Use.h b/include/llvm/Use.h
index 970f69b9da..2759338f42 100644
--- a/include/llvm/Use.h
+++ b/include/llvm/Use.h
@@ -27,6 +27,7 @@
#include "llvm/Support/Casting.h"
#include "llvm/ADT/PointerIntPair.h"
+#include <cstddef>
#include <iterator>
namespace llvm {