Browse files

Merge pull request #36 from smikes/master

added #include <node.h> for compilation on Windows
  • Loading branch information...
2 parents 2983dea + f9f63f8 commit dc4aeb347d92c2cdd5b957b81cdb0feabe5b730d @3y3 3y3 committed Apr 14, 2014
Showing with 6 additions and 3 deletions.
  1. +1 −1 cpu_profiler.h
  2. +1 −1 heap_profiler.h
  3. +1 −0 profile.h
  4. +2 −1 profile_node.h
  5. +1 −0 snapshot.h
View
2 cpu_profiler.h
@@ -1,8 +1,8 @@
#ifndef NODE_CPU_PROFILER_
#define NODE_CPU_PROFILER_
-#include <v8-profiler.h>
#include <node.h>
+#include <v8-profiler.h>
using namespace v8;
using namespace node;
View
2 heap_profiler.h
@@ -1,8 +1,8 @@
#ifndef NODE_HEAP_PROFILER_
#define NODE_HEAP_PROFILER_
-#include <v8-profiler.h>
#include <node.h>
+#include <v8-profiler.h>
using namespace v8;
using namespace node;
View
1 profile.h
@@ -1,6 +1,7 @@
#ifndef NODE_PROFILE_
#define NODE_PROFILE_
+#include <node.h>
#include <v8-profiler.h>
using namespace v8;
View
3 profile_node.h
@@ -3,6 +3,7 @@
#ifndef NODE_PROFILE_NODE_
#define NODE_PROFILE_NODE_
+#include <node.h>
#include <v8-profiler.h>
using namespace v8;
@@ -29,4 +30,4 @@ class ProfileNode {
};
}
-#endif // NODE_PROFILE_NODE_
+#endif // NODE_PROFILE_NODE_
View
1 snapshot.h
@@ -3,6 +3,7 @@
#ifndef NODE_SNAPSHOT_
#define NODE_SNAPSHOT_
+#include <node.h>
#include <v8-profiler.h>
using namespace v8;

0 comments on commit dc4aeb3

Please sign in to comment.