mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
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: https://github.com/nodejs/node/pull/46817 PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 parent
f6ec81dc05
commit
90f4e16350
1 file changed
+1
@@ -2,6 +2,7 @@
|
||||
#include "node/inspector/protocol/Protocol.h"
|
||||
#include "node_util.h"
|
||||
#include "simdutf.h"
|
||||
#include "util-inl.h"
|
||||
|
||||
namespace node {
|
||||
namespace inspector {
|
||||
|
||||
Reference in new issue
Block a user