mirror of
https://github.com/coreutils/coreutils.git
synced 2024-12-12 11:23:43 +08:00
Include group-member.h first.
Include <stdlib.h> unconditionally.
This commit is contained in:
parent
e705d572fa
commit
ccddbf4faf
@ -19,18 +19,16 @@
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "group-member.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#ifdef STDC_HEADERS
|
||||
# include <stdlib.h>
|
||||
#endif
|
||||
#include <stdlib.h>
|
||||
|
||||
#if HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "group-member.h"
|
||||
#include "xalloc.h"
|
||||
|
||||
struct group_info
|
||||
@ -127,7 +125,7 @@ group_member (gid_t gid)
|
||||
char *program_name;
|
||||
|
||||
int
|
||||
main (int argc, char** argv)
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user