From 7438a557af191595b23f103cae73ee79c23bdb9e Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Tue, 21 May 2019 21:46:19 +0200 Subject: [PATCH] src: remove util-inl.h include in node.h `node.h` may only include public APIs, which `util-inl.h` is not. There does not seem to be any reason for including it, so remove it, because otherwise native addon compilation is broken due to us not shipping the `util-inl.h` header. Refs: https://github.com/nodejs/node/pull/27631 Fixes: https://github.com/nodejs/node/issues/27803 PR-URL: https://github.com/nodejs/node/pull/27804 Reviewed-By: Colin Ihrig Reviewed-By: Ruben Bridgewater Reviewed-By: Sam Roberts Reviewed-By: Jeremiah Senkpiel Reviewed-By: Richard Lau --- src/node.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/node.h b/src/node.h index 5af0655a84b808..5098dc9c7e77df 100644 --- a/src/node.h +++ b/src/node.h @@ -99,14 +99,6 @@ # endif #endif -#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS -// Internally, do not include util-inl.h into files unless they need it's -// inline definitions. -#else -// Externally, it must be included for backwards API compatibility. -# include -#endif - // Forward-declare libuv loop struct uv_loop_s;