Skip to content

Commit 3853b0c

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: nodejs#27631 Fixes: nodejs#27803
1 parent 00ba75e commit 3853b0c

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)