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 e1d0070 commit fa6fd18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_http2.cc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include "node_http2.h"
#include "aliased_buffer.h"
#include "debug_utils.h"
#include "node.h"
#include "node_buffer.h"
#include "node_http2.h"
#include "node_http2_state.h"
#include "node_perf.h"
#include "util.h"
Expand Down
3 changes: 3 additions & 0 deletions src/node_http2.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@

#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

// FIXME(joyeecheung): nghttp2.h needs stdint.h to compile on Windows
#include <stdint.h>
#include "nghttp2/nghttp2.h"

#include "node_http2_state.h"
#include "node_perf.h"
#include "stream_base-inl.h"
Expand Down

0 comments on commit fa6fd18

Please sign in to comment.