diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-05-11 16:35:13 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-05-11 16:35:13 +0000 |
commit | a802ef422d0c2c660bc7ffb8982dd37d55ffe422 (patch) | |
tree | 415fc12f1cef1b1e50210211c5872daa92f53601 | |
parent | 7e9c948df3165dcc603771b01c25262e6e393a9d (diff) | |
download | libunwind_llvm-a802ef422d0c2c660bc7ffb8982dd37d55ffe422.tar.gz |
unwind: permit building against libstdc++
Include algorithm early as otherwise you get a number of particularly unhelpful
messages about failed static assertions. This fixes compilation on Linux with
gcc.
git-svn-id: https://llvm.org/svn/llvm-project/libunwind/trunk@237002 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | src/libunwind.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libunwind.cpp b/src/libunwind.cpp index 031ecce..8f5078b 100644 --- a/src/libunwind.cpp +++ b/src/libunwind.cpp @@ -19,6 +19,7 @@ #include <tuple> #include <memory> #include <vector> +#include <algorithm> #include "libunwind_ext.h" #include "config.h" |