From 3104468bc060d7b485f00a8603ec547b09b067c6 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Mon, 30 Jan 2017 16:00:57 +0000 Subject: [PATCH] [AST] Make header standalone. Most implementations get ptrdiff_t transitively, some don't. Explicitly include cstddef. llvm-svn: 293488 --- clang/include/clang/AST/ASTVector.h | 1 + 1 file changed, 1 insertion(+) diff --git a/clang/include/clang/AST/ASTVector.h b/clang/include/clang/AST/ASTVector.h index 9ae5fd62c65a..717a9e9dff34 100644 --- a/clang/include/clang/AST/ASTVector.h +++ b/clang/include/clang/AST/ASTVector.h @@ -22,6 +22,7 @@ #include "llvm/ADT/PointerIntPair.h" #include "llvm/Support/type_traits.h" #include +#include #include #include