diff options
author | Florian Weimer <fweimer@redhat.com> | 2015-04-08 20:51:34 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2015-04-08 21:07:03 +0200 |
commit | 866ba63b312fd015e1585ee46943f57187e82868 (patch) | |
tree | be475646a9588c10c14b6b745b79912bd334a9d7 /grp/initgroups.c | |
parent | 7b8399f479fb9ebaf816a49246ea5c6354a0769e (diff) | |
download | glibc-866ba63b312fd015e1585ee46943f57187e82868.zip glibc-866ba63b312fd015e1585ee46943f57187e82868.tar.gz glibc-866ba63b312fd015e1585ee46943f57187e82868.tar.bz2 |
grp: Rewrite to use struct scratch_buffer instead of extend_alloca
grp/compat-initgroups.c is included from nscd/initgrcache.c, which is
why the #include directive has to be added there as well.
Diffstat (limited to 'grp/initgroups.c')
-rw-r--r-- | grp/initgroups.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grp/initgroups.c b/grp/initgroups.c index 4d083ac..14a8ab1 100644 --- a/grp/initgroups.c +++ b/grp/initgroups.c @@ -15,7 +15,6 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ -#include <alloca.h> #include <assert.h> #include <errno.h> #include <grp.h> @@ -26,6 +25,7 @@ #include <sys/param.h> #include <sys/types.h> #include <nsswitch.h> +#include <scratch_buffer.h> #include "../nscd/nscd-client.h" #include "../nscd/nscd_proto.h" |