Browse Source

smalloc: remove `env.h` include

Since `smalloc.h` is included in a `node_buffer.h`, including private
headers in it is strictly prohibited.

fix #7206
v0.11.12-release
Fedor Indutny 11 years ago
parent
commit
34bf6e46be
  1. 4
      src/smalloc.h

4
src/smalloc.h

@ -24,10 +24,12 @@
#include "node.h"
#include "v8.h"
#include "env.h"
namespace node {
// Forward declaration
class Environment;
/**
* Simple memory allocator.
*

Loading…
Cancel
Save