From bfba45d2855688145fe1bba23cb4bb02f0beb29c Mon Sep 17 00:00:00 2001 From: William Light Date: Thu, 20 Feb 2014 15:50:56 +0100 Subject: [PATCH] linux: include grp.h for setgroups() --- src/unix/process.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/unix/process.c b/src/unix/process.c index 1efd588b..55f6ac58 100644 --- a/src/unix/process.c +++ b/src/unix/process.c @@ -40,6 +40,10 @@ extern char **environ; #endif +#ifdef __linux__ +# include +#endif + static QUEUE* uv__process_queue(uv_loop_t* loop, int pid) { assert(pid > 0);