Add #include
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4291 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Support/Statistic.cpp b/lib/Support/Statistic.cpp
index 4db949a..6345fbf 100644
--- a/lib/Support/Statistic.cpp
+++ b/lib/Support/Statistic.cpp
@@ -18,6 +18,7 @@
#include "Support/CommandLine.h"
#include <iostream>
#include <sstream>
+#include <algorithm>
bool DebugFlag; // DebugFlag - Exported boolean set by the -debug option
diff --git a/lib/Support/Timer.cpp b/lib/Support/Timer.cpp
index fb38fcb..d0ce71f 100644
--- a/lib/Support/Timer.cpp
+++ b/lib/Support/Timer.cpp
@@ -12,6 +12,7 @@
#include <stdio.h>
#include <iostream>
#include <algorithm>
+#include <functional>
static TimerGroup *DefaultTimerGroup = 0;
static TimerGroup *getDefaultTimerGroup() {