Skip to content

Commit

Permalink
Include "platform.h", not <platform.h> - conflicts with system headers
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Jul 26, 2011
1 parent 1b3ebc3 commit a7bdaab
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ extern "C" {
# include <grp.h> /* getgrnam() */
#endif

#include <platform.h>
#include "platform.h"
#include <node_buffer.h>
#ifdef __POSIX__
# include <node_io_watcher.h>
Expand Down
2 changes: 1 addition & 1 deletion src/node_buffer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <string.h> // memcpy

#ifdef __MINGW32__
# include <platform.h>
# include "platform.h"
# include <platform_win32_winsock.h> // htons, htonl
#endif

Expand Down
2 changes: 1 addition & 1 deletion src/node_os.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

#include <node.h>
#include <node_os.h>
#include <platform.h>
#include "platform.h"

#include <v8.h>

Expand Down
2 changes: 1 addition & 1 deletion src/platform_win32.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@


#include <node.h>
#include <platform.h>
#include "platform.h"

#include <v8.h>

Expand Down

0 comments on commit a7bdaab

Please sign in to comment.