aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2007-03-05 00:00:42 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2007-03-05 00:00:42 +0000
commitca5183d445954a9b2a570d6bbba1bc2b00ad6442 (patch)
tree2fe70b0a35fe2569c8d6434e9769bc6e8bd58204 /tools
parentf298fd0428e3e26fda13d24bb7295c416a9b8452 (diff)
Unbreak VC++ build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34917 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/llvm-nm/llvm-nm.cpp1
-rw-r--r--tools/llvm-prof/llvm-prof.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/llvm-nm/llvm-nm.cpp b/tools/llvm-nm/llvm-nm.cpp
index 49f662d745..bad001e408 100644
--- a/tools/llvm-nm/llvm-nm.cpp
+++ b/tools/llvm-nm/llvm-nm.cpp
@@ -22,6 +22,7 @@
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/System/Signals.h"
+#include <algorithm>
#include <cctype>
#include <cerrno>
#include <cstring>
diff --git a/tools/llvm-prof/llvm-prof.cpp b/tools/llvm-prof/llvm-prof.cpp
index b0767e6fdf..6b1d514bcd 100644
--- a/tools/llvm-prof/llvm-prof.cpp
+++ b/tools/llvm-prof/llvm-prof.cpp
@@ -21,6 +21,7 @@
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/System/Signals.h"
+#include <algorithm>
#include <iostream>
#include <iomanip>
#include <map>