Skip to content

Instantly share code, notes, and snippets.

@taf2
Created May 3, 2011 01:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save taf2/952650 to your computer and use it in GitHub Desktop.
Save taf2/952650 to your computer and use it in GitHub Desktop.
patch to fix node.js build when tidy is installed
diff --git a/src/node.cc b/src/node.cc
index 70ed8e0..282ae26 100644
--- a/src/node.cc
+++ b/src/node.cc
@@ -47,7 +47,7 @@
# include <grp.h> /* getgrnam() */
#endif
-#include <platform.h>
+#include "platform.h"
#include <node_buffer.h>
#include <node_io_watcher.h>
#include <node_net.h>
diff --git a/src/node_os.cc b/src/node_os.cc
index 077e207..ddf0656 100644
--- a/src/node_os.cc
+++ b/src/node_os.cc
@@ -22,7 +22,7 @@
#include <node.h>
#include <node_os.h>
-#include <platform.h>
+#include "platform.h"
#include <v8.h>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment