From: Brian Gaeke Date: Sun, 23 Nov 2003 00:55:27 +0000 (+0000) Subject: This is a hack to make this file compile under g++-3.0.x; X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6de98f242a6e7103de3f880c31f7e6b4e3650da8;p=oota-llvm.git 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 --- diff --git a/include/Support/STLExtras.h b/include/Support/STLExtras.h index b8e61283ed3..de4ad1ce92a 100644 --- a/include/Support/STLExtras.h +++ b/include/Support/STLExtras.h @@ -18,6 +18,7 @@ #define SUPPORT_STLEXTRAS_H #include +#include // 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 b8e61283ed3..de4ad1ce92a 100644 --- a/include/llvm/ADT/STLExtras.h +++ b/include/llvm/ADT/STLExtras.h @@ -18,6 +18,7 @@ #define SUPPORT_STLEXTRAS_H #include +#include // G++-3.0.x will find std::pair here. #include "Support/iterator" namespace llvm {