summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-08 03:33:43 +0000
committerChris Lattner <sabre@nondot.org>2009-04-08 03:33:43 +0000
commit9591bbc4f648721ef406eb14455381df53215edd (patch)
treefedcbc31e2d1e38ed12573446468fe5372393488
parent605fee8445002386f8321320aeec47307b91f661 (diff)
downloadbcm5719-llvm-9591bbc4f648721ef406eb14455381df53215edd.tar.gz
bcm5719-llvm-9591bbc4f648721ef406eb14455381df53215edd.zip
improve compatibility with VC+, patch by John Thompson!
llvm-svn: 68586
-rw-r--r--clang/include/clang/AST/DeclContextInternals.h1
-rw-r--r--clang/lib/AST/DeclBase.cpp1
2 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/AST/DeclContextInternals.h b/clang/include/clang/AST/DeclContextInternals.h
index 0aa50a1f98f..74e83f17e65 100644
--- a/clang/include/clang/AST/DeclContextInternals.h
+++ b/clang/include/clang/AST/DeclContextInternals.h
@@ -19,6 +19,7 @@
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/PointerUnion.h"
#include "llvm/ADT/SmallVector.h"
+#include <functional>
namespace clang {
diff --git a/clang/lib/AST/DeclBase.cpp b/clang/lib/AST/DeclBase.cpp
index f098496f23d..45c5494d4cb 100644
--- a/clang/lib/AST/DeclBase.cpp
+++ b/clang/lib/AST/DeclBase.cpp
@@ -23,7 +23,6 @@
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cstdio>
-#include <functional>
#include <vector>
using namespace clang;
OpenPOWER on IntegriCloud