Browse Source

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

Fixes #1003.
v0.7.4-release
Ben Noordhuis 13 years ago
parent
commit
2d65f3c59a
  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

@ -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>

2
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

2
src/node_os.cc

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

2
src/platform_win32.cc

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

Loading…
Cancel
Save