diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2011-07-26 22:05:08 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2011-07-26 22:09:03 +0200 |
commit | 2d65f3c59a33730a2aed47070e4ac32bd2791aa5 (patch) | |
tree | 8cad50e802088c7556d5ed8fa3e78d9201487ed4 /src | |
parent | d32971a8cbc0ac6ab7a044e25ff400587bc1294f (diff) | |
download | node-new-2d65f3c59a33730a2aed47070e4ac32bd2791aa5.tar.gz |
Include "platform.h", not <platform.h> - conflicts with system headers
Fixes #1003.
Diffstat (limited to 'src')
-rw-r--r-- | src/node.cc | 2 | ||||
-rw-r--r-- | src/node_buffer.cc | 2 | ||||
-rw-r--r-- | src/node_os.cc | 2 | ||||
-rw-r--r-- | src/platform_win32.cc | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/node.cc b/src/node.cc index 22c278835a..527d11ca8e 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_buffer.cc b/src/node_buffer.cc index 4520548aba..75573920e0 100644 --- a/src/node_buffer.cc +++ b/src/node_buffer.cc @@ -30,7 +30,7 @@ #include <string.h> // memcpy #ifdef __MINGW32__ -# include <platform.h> +# include "platform.h" # include <platform_win32_winsock.h> // htons, htonl #endif diff --git a/src/node_os.cc b/src/node_os.cc index 1b985276c4..919f2951da 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> diff --git a/src/platform_win32.cc b/src/platform_win32.cc index 316dd8fe1d..970986c47c 100644 --- a/src/platform_win32.cc +++ b/src/platform_win32.cc @@ -21,7 +21,7 @@ #include <node.h> -#include <platform.h> +#include "platform.h" #include <v8.h> |