diff options
author | Anna Henningsen <anna@addaleax.net> | 2019-05-21 22:46:19 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2019-05-22 00:24:49 +0300 |
commit | 47c5c3da862e7107cdf2ca4a31a4ae70be2d85a7 (patch) | |
tree | 98ca91367490bf8d699c8cfa5bff47f526d5f2b5 /src/node.h | |
parent | b046bd193573faf89ac088076b223d5535fb4876 (diff) |
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 <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Diffstat (limited to 'src/node.h')
-rw-r--r-- | src/node.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/node.h b/src/node.h index 73a39982852..d8f7e3bc575 100644 --- a/src/node.h +++ b/src/node.h @@ -103,14 +103,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 <util-inl.h> -#endif - // Forward-declare libuv loop struct uv_loop_s; |