Skip to content

Commit

Permalink
src: fix use-before-def compiler warning
Browse files Browse the repository at this point in the history
Include the right header file to get the definition of Calloc(), not
just its declaration.
  • Loading branch information
bnoordhuis committed Oct 26, 2018
1 parent 482b56a commit 4e10934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aliased_buffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

#include "v8.h"
#include "util.h"
#include "util-inl.h"

namespace node {

Expand Down

0 comments on commit 4e10934

Please sign in to comment.