Skip to content

Commit 6b7d836

Browse files
Uttam Pawarrvagg
Uttam Pawar
authored andcommitted
src: add missing includes for vtune build
`v8-vtune.h` must be included in order to be able to build with vtune support. PR-URL: #26136 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Richard Lau <[email protected]>
1 parent 34c685b commit 6b7d836

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/api/environment.cc

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
#include "node_v8_platform-inl.h"
1010
#include "uv.h"
1111

12+
#ifdef NODE_ENABLE_VTUNE_PROFILING
13+
#include "../deps/v8/src/third_party/vtune/v8-vtune.h"
14+
#endif
15+
1216
namespace node {
1317
using v8::Context;
1418
using v8::Function;

0 commit comments

Comments
 (0)