Skip to content

Commit 47c5c3d

Browse files
committed
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 <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Sam Roberts <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: Richard Lau <[email protected]>
1 parent b046bd1 commit 47c5c3d

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
@@ -103,14 +103,6 @@
103103
# endif
104104
#endif
105105

106-
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
107-
// Internally, do not include util-inl.h into files unless they need it's
108-
// inline definitions.
109-
#else
110-
// Externally, it must be included for backwards API compatibility.
111-
# include <util-inl.h>
112-
#endif
113-
114106
// Forward-declare libuv loop
115107
struct uv_loop_s;
116108

0 commit comments

Comments
 (0)