diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2013-07-20 21:42:20 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2013-07-20 21:45:24 +0200 |
commit | 254b711155996e379a41a569a38dd98dbd7a6e47 (patch) | |
tree | 655307b259821c3e13b79484620c9ce224a77c04 /src/node_internals.h | |
parent | d75f67f949f2e3b7564671f02cb2ab8e86205e13 (diff) | |
download | node-new-254b711155996e379a41a569a38dd98dbd7a6e47.tar.gz |
src: fix windows build error from 221c689e
Just forward declare struct sockaddr, the struct is never actually
dereferenced in src/node_internals.h.
Before this commit, it included sys/socket.h but that header doesn't
exist on Windows.
Diffstat (limited to 'src/node_internals.h')
-rw-r--r-- | src/node_internals.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/node_internals.h b/src/node_internals.h index 11d780e240..03d6d57afb 100644 --- a/src/node_internals.h +++ b/src/node_internals.h @@ -25,11 +25,10 @@ #include <assert.h> #include <stdlib.h> -#include <sys/types.h> -#include <sys/socket.h> - #include "v8.h" +struct sockaddr; + namespace node { // Defined in node.cc |