From a177d60e2b8ab0969e9fa8d52af3a6aa294a2361 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Thu, 25 Nov 2010 01:02:55 +0100 Subject: [PATCH] Fix headers for node.cc --- src/node.cc | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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