From cbf73fcccd263c7f7a61d540de0ee3f0eb5e6564 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Thu, 25 Nov 2010 01:19:13 +0100 Subject: [PATCH] Fix headers for node_net.cc --- src/node_net.cc | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/src/node_net.cc b/src/node_net.cc index f958744cd0..c0b7951ad5 100644 --- a/src/node_net.cc +++ b/src/node_net.cc @@ -8,18 +8,23 @@ #include #include -#include -#include #include #include -#include /* inet_pton */ -#include +#ifdef __MINGW32__ +# include -#include -#include +#else // __POSIX__ +# include +# include +# include -#include +# include /* inet_pton */ + +# include +# include +# include +#endif #ifdef __linux__ # include /* For the SIOCINQ / FIONREAD ioctl */