Skip to content

Commit 16168ca

Browse files
committed
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: nodejs#46817
1 parent 2660a32 commit 16168ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/inspector/node_string.cc

Lines changed: 1 addition & 0 deletions
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)