summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-02-24 14:56:19 +0100
committerJim Meyering <meyering@redhat.com>2008-02-24 14:56:19 +0100
commitdacff7cb2b2d8765828b10674dc515292584a432 (patch)
tree212527ece2b1528b521bc9e8a7d73db3089f8eba
parentf656cafd4c290db7abb1ac1d357696ffdc1793b7 (diff)
downloadcoreutils-dacff7cb2b2d8765828b10674dc515292584a432.tar.xz
* gl/lib/mgetgroups.c: Include <stdlib.h>.
-rw-r--r--gl/lib/mgetgroups.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gl/lib/mgetgroups.c b/gl/lib/mgetgroups.c
index ba8818e0d..01ae91e3a 100644
--- a/gl/lib/mgetgroups.c
+++ b/gl/lib/mgetgroups.c
@@ -1,6 +1,6 @@
/* mgetgroups.c -- return a list of the groups a user is in
- Copyright (C) 2007 Free Software Foundation.
+ Copyright (C) 2007-2008 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -21,6 +21,7 @@
#include "mgetgroups.h"
+#include <stdlib.h>
#include <unistd.h>
#include <stdint.h>
#include <string.h>