Browse Source

Include "platform.h", not <platform.h> - conflicts with system headers

Fixes #1003.
v0.7.4-release
Ben Noordhuis 14 years ago
parent
commit
a7bdaabf60
  1. 2
      src/node.cc
  2. 2
      src/node_buffer.cc
  3. 2
      src/node_os.cc
  4. 2
      src/platform_win32.cc

2
src/node.cc

@ -56,7 +56,7 @@ extern "C" {
# include <grp.h> /* getgrnam() */ # include <grp.h> /* getgrnam() */
#endif #endif
#include <platform.h> #include "platform.h"
#include <node_buffer.h> #include <node_buffer.h>
#ifdef __POSIX__ #ifdef __POSIX__
# include <node_io_watcher.h> # include <node_io_watcher.h>

2
src/node_buffer.cc

@ -30,7 +30,7 @@
#include <string.h> // memcpy #include <string.h> // memcpy
#ifdef __MINGW32__ #ifdef __MINGW32__
# include <platform.h> # include "platform.h"
# include <platform_win32_winsock.h> // htons, htonl # include <platform_win32_winsock.h> // htons, htonl
#endif #endif

2
src/node_os.cc

@ -22,7 +22,7 @@
#include <node.h> #include <node.h>
#include <node_os.h> #include <node_os.h>
#include <platform.h> #include "platform.h"
#include <v8.h> #include <v8.h>

2
src/platform_win32.cc

@ -21,7 +21,7 @@
#include <node.h> #include <node.h>
#include <platform.h> #include "platform.h"
#include <v8.h> #include <v8.h>

Loading…
Cancel
Save