summaryrefslogtreecommitdiffstats
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
commit6ef473f53c69aba79d874ffc93b476750cfcd1b2 (patch)
tree50c8b348261931557722b4c707fcd243fb93753c
parent407000c497ad619c176a5352392b1430d3b18a7d (diff)
downloadbcm5719-llvm-6ef473f53c69aba79d874ffc93b476750cfcd1b2.tar.gz
bcm5719-llvm-6ef473f53c69aba79d874ffc93b476750cfcd1b2.zip
Make this work with the ICC compiler, contributed by Bjørn Wennberg
llvm-svn: 18626
-rw-r--r--llvm/lib/System/Unix/Unix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/System/Unix/Unix.h b/llvm/lib/System/Unix/Unix.h
index afb91005837..71445094afd 100644
--- a/llvm/lib/System/Unix/Unix.h
+++ b/llvm/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];
OpenPOWER on IntegriCloud