summaryrefslogtreecommitdiff
path: root/src/node.h
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2013-07-31 23:16:08 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2013-07-31 23:16:26 +0200
commit02cab97490690610ab5c4ce5d76208d415f0d2c4 (patch)
treea4ac0a734d86ee9a0363ca631a175da016778847 /src/node.h
parent847c6d980c83274b6c37e29a07d19a696435588b (diff)
downloadnode-new-02cab97490690610ab5c4ce5d76208d415f0d2c4.tar.gz
src: more lint after cpplint tightening
Commit 847c6d9 adds a 'project headers before system headers' check to cpplint. Update the files in src/ to make the linter pass again.
Diffstat (limited to 'src/node.h')
-rw-r--r--src/node.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/node.h b/src/node.h
index 12a5d4cbc5..f41495c043 100644
--- a/src/node.h
+++ b/src/node.h
@@ -58,14 +58,7 @@
# define SIGKILL 9
#endif
-#include "node_version.h" /* NODE_MODULE_VERSION */
-#include "uv.h"
-#include "v8.h"
-
-#include <sys/types.h> /* struct stat */
-#include <sys/stat.h>
-#include <assert.h>
-
+#include "node_version.h" // NODE_MODULE_VERSION
#include "node_object_wrap.h"
// Forward-declare these functions now to stop MSVS from becoming
@@ -99,9 +92,14 @@ NODE_EXTERN v8::Handle<v8::Value> MakeCallback(
} // namespace node
#if NODE_WANT_INTERNALS
-# include "node_internals.h"
+#include "node_internals.h"
#endif
+#include "uv.h"
+#include "v8.h"
+
+#include <assert.h>
+
#ifndef NODE_STRINGIFY
#define NODE_STRINGIFY(n) NODE_STRINGIFY_HELPER(n)
#define NODE_STRINGIFY_HELPER(n) #n