Skip to content

Commit e1d0070

Browse files
committed
fixup! src: reduce includes of node_internals.h
1 parent fc7c0f6 commit e1d0070

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

src/debug_utils.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33

44
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
55

6-
#include <sstream>
7-
#include <string>
86
#include "async_wrap.h"
97
#include "env-inl.h"
108

9+
#include <sstream>
10+
#include <string>
11+
1112
// Use FORCE_INLINE on functions that have a debug-category-enabled check first
1213
// and then ideally only a single function call following it, to maintain
1314
// performance for the common case (no debugging used).

src/node_i18n.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@
2424

2525
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
2626

27-
#include <string>
2827
#include "util.h"
2928

29+
#include <string>
30+
3031
#if defined(NODE_HAVE_I18N_SUPPORT)
3132

3233
namespace node {

src/string_search.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77

88
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
99

10+
#include "util.h"
11+
1012
#include <string.h>
1113
#include <algorithm>
12-
#include "util.h"
1314

1415
namespace node {
1516
namespace stringsearch {

0 commit comments

Comments
 (0)