summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/getgroups.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/getgroups.c')
-rw-r--r--libc/sysdeps/linux/common/getgroups.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/getgroups.c b/libc/sysdeps/linux/common/getgroups.c
index afc615bfb..92cdca2d0 100644
--- a/libc/sysdeps/linux/common/getgroups.c
+++ b/libc/sysdeps/linux/common/getgroups.c
@@ -12,6 +12,7 @@
#include "syscalls.h"
#include <stdlib.h>
#include <unistd.h>
+#include <grp.h>
#define MIN(a,b) (((a)<(b))?(a):(b))