Commit 125ab19f authored by Milad Farazmand's avatar Milad Farazmand Committed by Commit Bot

[test] Add the missing algorithm header

Compilation is failing on certain versions of gcc with:
'sort' is not a member of 'std'
'adjacent_find' is not a member of 'std'
'count' is not a member of 'std' and

Bug: v8:10145
Change-Id: I0672636987c515485318d29d251c3b49a22ff374
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2008307
Commit-Queue: Milad Farazmand <miladfar@ca.ibm.com>
Reviewed-by: 's avatarMilad Farazmand <miladfar@ca.ibm.com>
Reviewed-by: 's avatarMaya Lekova <mslekova@chromium.org>
Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65884}
parent 2186828f
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#include <algorithm>
#include <climits> #include <climits>
#include "src/base/utils/random-number-generator.h" #include "src/base/utils/random-number-generator.h"
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
#include "src/libplatform/default-worker-threads-task-runner.h" #include "src/libplatform/default-worker-threads-task-runner.h"
#include <algorithm>
#include <vector> #include <vector>
#include "include/v8-platform.h" #include "include/v8-platform.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment