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

Fixes #1003.
This commit is contained in:
Ben Noordhuis 2011-07-26 22:05:08 +02:00
parent d32971a8cb
commit 2d65f3c59a
4 changed files with 4 additions and 4 deletions

View File

@ -47,7 +47,7 @@
# include <grp.h> /* getgrnam() */ # include <grp.h> /* getgrnam() */
#endif #endif
#include <platform.h> #include "platform.h"
#include <node_buffer.h> #include <node_buffer.h>
#include <node_io_watcher.h> #include <node_io_watcher.h>
#include <node_net.h> #include <node_net.h>

View File

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

View File

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

View File

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