diff --git a/src/node.cc b/src/node.cc index b4d4c90b5e..83fcd9622b 100644 --- a/src/node.cc +++ b/src/node.cc @@ -11,14 +11,19 @@ #include #include #include -#include /* dlopen(), dlsym() */ #include #include /* setuid, getuid */ -#include /* getpwnam() */ -#include /* getgrnam() */ #include "platform.h" +#ifdef __MINGW32__ +# include "platform_win32.h" /* winapi_perror() */ +#else // __POSIX__ +# include /* dlopen(), dlsym() */ +# include /* getpwnam() */ +# include /* getgrnam() */ +#endif + #include #include #include