summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/Unix/Unix.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/System/Unix/Unix.h')
-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