summaryrefslogtreecommitdiff
path: root/libc/pwd_grp/initgroups.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/pwd_grp/initgroups.c')
-rw-r--r--libc/pwd_grp/initgroups.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/pwd_grp/initgroups.c b/libc/pwd_grp/initgroups.c
index 98b2626f3..91af42f42 100644
--- a/libc/pwd_grp/initgroups.c
+++ b/libc/pwd_grp/initgroups.c
@@ -22,6 +22,7 @@
#include <string.h>
#include <fcntl.h>
#include <paths.h>
+#include <stdlib.h>
#include "config.h"
int initgroups(__const char *user, gid_t gid)