|
@ -11,14 +11,19 @@ |
|
|
#include <assert.h> |
|
|
#include <assert.h> |
|
|
#include <unistd.h> |
|
|
#include <unistd.h> |
|
|
#include <errno.h> |
|
|
#include <errno.h> |
|
|
#include <dlfcn.h> /* dlopen(), dlsym() */ |
|
|
|
|
|
#include <sys/types.h> |
|
|
#include <sys/types.h> |
|
|
#include <unistd.h> /* setuid, getuid */ |
|
|
#include <unistd.h> /* setuid, getuid */ |
|
|
#include <pwd.h> /* getpwnam() */ |
|
|
|
|
|
#include <grp.h> /* getgrnam() */ |
|
|
|
|
|
|
|
|
|
|
|
#include "platform.h" |
|
|
#include "platform.h" |
|
|
|
|
|
|
|
|
|
|
|
#ifdef __MINGW32__ |
|
|
|
|
|
# include "platform_win32.h" /* winapi_perror() */ |
|
|
|
|
|
#else // __POSIX__
|
|
|
|
|
|
# include <dlfcn.h> /* dlopen(), dlsym() */ |
|
|
|
|
|
# include <pwd.h> /* getpwnam() */ |
|
|
|
|
|
# include <grp.h> /* getgrnam() */ |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
#include <node_buffer.h> |
|
|
#include <node_buffer.h> |
|
|
#include <node_io_watcher.h> |
|
|
#include <node_io_watcher.h> |
|
|
#include <node_net.h> |
|
|
#include <node_net.h> |
|
|