aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-09-14 18:45:17 +0000
committerUlrich Drepper <drepper@redhat.com>1998-09-14 18:45:17 +0000
commit0a1590ba5303470ec70dda95fe31d737c9e6246b (patch)
treedf7e6cf8cf6f621e724ba38824a543982a9932db
parent14eb5d5d3417d7c7f38b34270713d4969e0f4111 (diff)
downloadglibc-0a1590ba5303470ec70dda95fe31d737c9e6246b.tar
glibc-0a1590ba5303470ec70dda95fe31d737c9e6246b.tar.gz
glibc-0a1590ba5303470ec70dda95fe31d737c9e6246b.tar.bz2
glibc-0a1590ba5303470ec70dda95fe31d737c9e6246b.zip
Update.
* grp/initgroups.c: Include stdlib.h. Patch by Zack Weinberg.
-rw-r--r--ChangeLog3
-rw-r--r--grp/initgroups.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 78985b5f0b..e8ba7be89a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,9 @@
* sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
* sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
+ * grp/initgroups.c: Include stdlib.h.
+ Patch by Zack Weinberg.
+
1998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
* posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
diff --git a/grp/initgroups.c b/grp/initgroups.c
index 082c49fa4f..b7708077b6 100644
--- a/grp/initgroups.c
+++ b/grp/initgroups.c
@@ -20,6 +20,7 @@
#include <errno.h>
#include <grp.h>
#include <limits.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>