This is a hack to make this file compile under g++-3.0.x;
authorBrian Gaeke <gaeke@uiuc.edu>
Sun, 23 Nov 2003 00:55:27 +0000 (00:55 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Sun, 23 Nov 2003 00:55:27 +0000 (00:55 +0000)
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

include/Support/STLExtras.h
include/llvm/ADT/STLExtras.h

index b8e61283ed3878c698e87e9484dec1768ea7be83..de4ad1ce92a4fcecc76b3c65efb433a78f69db37 100644 (file)
@@ -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 {
index b8e61283ed3878c698e87e9484dec1768ea7be83..de4ad1ce92a4fcecc76b3c65efb433a78f69db37 100644 (file)
@@ -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 {