Skip to content

Commit 90f4e16

Browse files
kvakiltargos
authored andcommitted
src: fix clang 14 linker error
Compiling with clang 14 on Ubuntu was failing with a linker error that `node::MaybeStackBuffer::AllocateSufficientStorage` was undefined in `src/inspector/node_string.cc`. I bisected it to the referenced PR. Include `util-inl.h` which defines `node::MaybeStackBuffer::AllocateSufficientStorage`. Refs: #46817 PR-URL: #47057 Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
1 parent f6ec81d commit 90f4e16

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/inspector/node_string.cc

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#include "node/inspector/protocol/Protocol.h"
33
#include "node_util.h"
44
#include "simdutf.h"
5+
#include "util-inl.h"
56

67
namespace node {
78
namespace inspector {

0 commit comments

Comments
 (0)