diff --git a/test/test-spawn.c b/test/test-spawn.c index fbe92335a..ccb9538f9 100644 --- a/test/test-spawn.c +++ b/test/test-spawn.c @@ -25,6 +25,11 @@ #include #include +#ifndef _WIN32 +#include +#endif + + static int close_cb_called; static int exit_cb_called; static uv_process_t process; @@ -548,7 +553,7 @@ TEST_IMPL(spawn_setuid_setgid) { init_process_options("spawn_helper1", exit_cb); - // become the "nobody" user. + /* become the "nobody" user. */ struct passwd* pw; pw = getpwnam("nobody"); ASSERT(pw != NULL);