diff --git a/src/node_buffer.cc b/src/node_buffer.cc index bc23ed88c6..69b419bd1f 100644 --- a/src/node_buffer.cc +++ b/src/node_buffer.cc @@ -6,7 +6,11 @@ #include // memcpy -#include // htons, htonl +#ifdef __MINGW32__ +# include // htons, htonl +#else // __POSIX__ +# include // htons, htonl +#endif #include