Skip to content

Commit 96f55f9

Browse files
bnoordhuisitaloacasas
authored andcommitted
src: move trace_event.h include to internal header
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]>
1 parent c8e34b6 commit 96f55f9

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/node.h

-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141

4242
#include "v8.h" // NOLINT(build/include_order)
4343
#include "node_version.h" // NODE_MODULE_VERSION
44-
#include "tracing/trace_event.h"
4544

4645
#define NODE_MAKE_VERSION(major, minor, patch) \
4746
((major) * 0x1000 + (minor) * 0x100 + (patch))

src/node_internals.h

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include "util-inl.h"
99
#include "uv.h"
1010
#include "v8.h"
11+
#include "tracing/trace_event.h"
1112

1213
#include <stdint.h>
1314
#include <stdlib.h>

0 commit comments

Comments
 (0)