aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-11-23 00:55:27 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-11-23 00:55:27 +0000
commit6de98f242a6e7103de3f880c31f7e6b4e3650da8 (patch)
tree3e1b6191d987733110e0c78a2f6b712d9a35f647 /include
parent3edb77c07e36c3ebcb4cd7e51079bce0067412d4 (diff)
downloadexternal_llvm-6de98f242a6e7103de3f880c31f7e6b4e3650da8.zip
external_llvm-6de98f242a6e7103de3f880c31f7e6b4e3650da8.tar.gz
external_llvm-6de98f242a6e7103de3f880c31f7e6b4e3650da8.tar.bz2
This is a hack to make this file compile under g++-3.0.x;
otherwise it can't decide what std::pair is. It seemed relatively harmless. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10173 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/Support/STLExtras.h1
-rw-r--r--include/llvm/ADT/STLExtras.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/Support/STLExtras.h b/include/Support/STLExtras.h
index b8e6128..de4ad1c 100644
--- a/include/Support/STLExtras.h
+++ b/include/Support/STLExtras.h
@@ -18,6 +18,7 @@
#define SUPPORT_STLEXTRAS_H
#include <functional>
+#include <map> // G++-3.0.x will find std::pair here.
#include "Support/iterator"
namespace llvm {
diff --git a/include/llvm/ADT/STLExtras.h b/include/llvm/ADT/STLExtras.h
index b8e6128..de4ad1c 100644
--- a/include/llvm/ADT/STLExtras.h
+++ b/include/llvm/ADT/STLExtras.h
@@ -18,6 +18,7 @@
#define SUPPORT_STLEXTRAS_H
#include <functional>
+#include <map> // G++-3.0.x will find std::pair here.
#include "Support/iterator"
namespace llvm {