From 96f55f9e593efd1d10893ea271adc575a63e6f31 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Mon, 23 Jan 2017 05:53:23 +0100 Subject: [PATCH] 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: https://github.com/nodejs/node/pull/10959 Refs: https://github.com/nodejs/citgm/pull/226#issuecomment-274066280 Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Matthew Loring Reviewed-By: Richard Lau Reviewed-By: Stephen Belanger --- src/node.h | 1 - src/node_internals.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node.h b/src/node.h index 24ebce87c8fdfc..1255a4af7f11ce 100644 --- a/src/node.h +++ b/src/node.h @@ -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)) diff --git a/src/node_internals.h b/src/node_internals.h index b68594162b8ab8..156d934d0ec004 100644 --- a/src/node_internals.h +++ b/src/node_internals.h @@ -8,6 +8,7 @@ #include "util-inl.h" #include "uv.h" #include "v8.h" +#include "tracing/trace_event.h" #include #include