summaryrefslogtreecommitdiff
path: root/tools/llvm-xray
diff options
context:
space:
mode:
authorDean Michael Berris <dberris@google.com>2017-01-12 07:43:54 +0000
committerDean Michael Berris <dberris@google.com>2017-01-12 07:43:54 +0000
commit182166ec7e67a029448161090acc007633360f70 (patch)
tree62d0333d89e7dea8faf90d20bbd2bb103728904e /tools/llvm-xray
parentc4416a6dc0cd687ba9a9d1cca2d8511e8c48bffe (diff)
[XRay] Include <numeric> for std::accumulate.
Fix-up following D24377. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291750 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-xray')
-rw-r--r--tools/llvm-xray/xray-account.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/llvm-xray/xray-account.cc b/tools/llvm-xray/xray-account.cc
index ceb8885cadb..7c2b88cb790 100644
--- a/tools/llvm-xray/xray-account.cc
+++ b/tools/llvm-xray/xray-account.cc
@@ -13,6 +13,7 @@
#include <algorithm>
#include <cassert>
+#include <numeric>
#include <system_error>
#include <utility>