Skip to content

Commit 7438a55

Browse files
addaleaxBridgeAR
authored andcommitted
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: #27631 Fixes: #27803 PR-URL: #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>
1 parent 6f70054 commit 7438a55

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/node.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,6 @@
9999
# endif
100100
#endif
101101

102-
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
103-
// Internally, do not include util-inl.h into files unless they need it's
104-
// inline definitions.
105-
#else
106-
// Externally, it must be included for backwards API compatibility.
107-
# include <util-inl.h>
108-
#endif
109-
110102
// Forward-declare libuv loop
111103
struct uv_loop_s;
112104

0 commit comments

Comments
 (0)