Skip to content

Commit

Permalink
fixup! src: reduce includes of node_internals.h
Browse files Browse the repository at this point in the history
  • Loading branch information
joyeecheung committed Jan 18, 2019
1 parent fc7c0f6 commit e1d0070
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/debug_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@

#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

#include <sstream>
#include <string>
#include "async_wrap.h"
#include "env-inl.h"

#include <sstream>
#include <string>

// Use FORCE_INLINE on functions that have a debug-category-enabled check first
// and then ideally only a single function call following it, to maintain
// performance for the common case (no debugging used).
Expand Down
3 changes: 2 additions & 1 deletion src/node_i18n.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@

#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

#include <string>
#include "util.h"

#include <string>

#if defined(NODE_HAVE_I18N_SUPPORT)

namespace node {
Expand Down
3 changes: 2 additions & 1 deletion src/string_search.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@

#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

#include "util.h"

#include <string.h>
#include <algorithm>
#include "util.h"

namespace node {
namespace stringsearch {
Expand Down

0 comments on commit e1d0070

Please sign in to comment.