From 04543b5542943a6688448cfd176b80c246ba62f7 Mon Sep 17 00:00:00 2001 From: Uttam Pawar Date: Fri, 15 Feb 2019 09:13:13 -0800 Subject: [PATCH] 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: https://github.com/nodejs/node/pull/26136 Reviewed-By: James M Snell Reviewed-By: Anna Henningsen Reviewed-By: Richard Lau --- src/api/environment.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/api/environment.cc b/src/api/environment.cc index ee9e623faa6cb6..91e4495538392f 100644 --- a/src/api/environment.cc +++ b/src/api/environment.cc @@ -9,6 +9,10 @@ #include "node_v8_platform-inl.h" #include "uv.h" +#ifdef NODE_ENABLE_VTUNE_PROFILING +#include "../deps/v8/src/third_party/vtune/v8-vtune.h" +#endif + namespace node { using v8::Context; using v8::Function;