Skip to content

Commit 3cb5727

Browse files
joyeecheungnodejs-github-bot
authored andcommitted
deps: fix missing include of <algorithm> in bignum.cc
This should include <algorithm> for std::min, otherwise it would not build with newer libstdc++.
1 parent 0f8284b commit 3cb5727

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎common.gypi‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
# Reset this number to 0 on major V8 upgrades.
4646
# Increment by one for each non-official patch applied to deps/v8.
47-
'v8_embedder_string': '-node.6',
47+
'v8_embedder_string': '-node.7',
4848

4949
##### V8 defaults for Node.js #####
5050

‎deps/v8/src/base/numbers/bignum.cc‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
#include "src/base/numbers/bignum.h"
66

7+
#include <algorithm>
78
#include <string_view>
89

910
#include "src/base/strings.h"

0 commit comments

Comments
 (0)