]> granicus.if.org Git - clang/commitdiff
Add <cstddef> include to get ptrdiff_t, for gcc-4.6; patch by Dimitry Andric.
authorDaniel Dunbar <daniel@zuster.org>
Tue, 15 Jun 2010 14:50:52 +0000 (14:50 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 15 Jun 2010 14:50:52 +0000 (14:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105995 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/StmtIterator.h
include/clang/Rewrite/RewriteRope.h

index a48f4e69468a107fa786ed20ca62b4f410364c3e..4da2e3474b1c16e2b13b958f003a65f279775c7e 100644 (file)
@@ -16,6 +16,7 @@
 
 #include "llvm/System/DataTypes.h"
 #include <cassert>
+#include <cstddef>
 #include <iterator>
 
 namespace clang {
index c0bd741d554656e15e4b55b5870edb7edc627e95..cb3f8a86f8ab855685ee5f9715488fbb209ac442 100644 (file)
@@ -16,6 +16,7 @@
 
 #include <cstring>
 #include <cassert>
+#include <cstddef>
 #include <iterator>
 
 namespace clang {