summaryrefslogtreecommitdiff
path: root/lib/System/Unix/Unix.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-12-08 16:10:52 +0000
committerChris Lattner <sabre@nondot.org>2004-12-08 16:10:52 +0000
commit194ca80fdbb4e15db7527aaeff6ba1e36fd27fb0 (patch)
treeda138b4e0483d2364d6e0ec4c16321b4351413ad /lib/System/Unix/Unix.h
parentf2fd400258c401acb746531a2caea5c9488d3de5 (diff)
downloadllvm-194ca80fdbb4e15db7527aaeff6ba1e36fd27fb0.tar.gz
llvm-194ca80fdbb4e15db7527aaeff6ba1e36fd27fb0.tar.bz2
llvm-194ca80fdbb4e15db7527aaeff6ba1e36fd27fb0.tar.xz
Make this work with the ICC compiler, contributed by Bjørn Wennberg
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18626 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Unix/Unix.h')
-rw-r--r--lib/System/Unix/Unix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/System/Unix/Unix.h b/lib/System/Unix/Unix.h
index afb9100583..71445094af 100644
--- a/lib/System/Unix/Unix.h
+++ b/lib/System/Unix/Unix.h
@@ -26,6 +26,7 @@
#include <sys/param.h>
#include <assert.h>
#include <string>
+#include <algorithm>
inline void ThrowErrno(const std::string& prefix) {
char buffer[MAXPATHLEN];