Skip to content

Commit

Permalink
src: move trace_event.h include to internal header
Browse files Browse the repository at this point in the history
Move the include from src/node.h to src/node_internals.h.

trace_event.h is not shipped in binary-only and headers-only tarballs,
making it currently impossible to build add-ons against them.

PR-URL: #10959
Refs: nodejs/citgm#226 (comment)
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Matthew Loring <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Stephen Belanger <[email protected]>
  • Loading branch information
bnoordhuis authored and italoacasas committed Mar 1, 2017
1 parent c8e34b6 commit 96f55f9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/node.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@

#include "v8.h" // NOLINT(build/include_order)
#include "node_version.h" // NODE_MODULE_VERSION
#include "tracing/trace_event.h"

#define NODE_MAKE_VERSION(major, minor, patch) \
((major) * 0x1000 + (minor) * 0x100 + (patch))
Expand Down
1 change: 1 addition & 0 deletions src/node_internals.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include "util-inl.h"
#include "uv.h"
#include "v8.h"
#include "tracing/trace_event.h"

#include <stdint.h>
#include <stdlib.h>
Expand Down

0 comments on commit 96f55f9

Please sign in to comment.