Make this work with the ICC compiler, contributed by Bjørn Wennberg
authorChris Lattner <sabre@nondot.org>
Wed, 8 Dec 2004 16:10:52 +0000 (16:10 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 8 Dec 2004 16:10:52 +0000 (16:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18626 91177308-0d34-0410-b5e6-96231b3b80d8

lib/System/Unix/Unix.h

index afb9100583766eed52d298be7149a8d56ac3d185..71445094afd917e1699c7b895335087333b15718 100644 (file)
@@ -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];