Skip to content

Commit

Permalink
src: add missing includes for vtune build
Browse files Browse the repository at this point in the history
`v8-vtune.h` must be included in order to be able to build with vtune
support.

PR-URL: #26136
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
  • Loading branch information
Uttam Pawar authored and rvagg committed Feb 28, 2019
1 parent 34c685b commit 6b7d836
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/api/environment.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6b7d836

Please sign in to comment.