Include "platform.h", not <platform.h> - conflicts with system headers
Fixes #1003.
This commit is contained in:
parent
d32971a8cb
commit
2d65f3c59a
@ -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>
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#include <node.h>
|
#include <node.h>
|
||||||
#include <platform.h>
|
#include "platform.h"
|
||||||
|
|
||||||
#include <v8.h>
|
#include <v8.h>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user