* lib/groupio.h, lib/prototypes.h, lib/pwio.h, lib/sgetgrent.c:

Include <sys/types.h> before <pwd.h> and <grp.h>. It is necessary
	for the definition of uid_t and gid_t.
	* lib/pwmem.c: do not include <pwd.h>, "pwio.h" is sufficient
	here.
This commit is contained in:
nekral-guest
2008-08-30 18:30:58 +00:00
parent c59126a817
commit f86b2704d5
6 changed files with 11 additions and 2 deletions

View File

@ -35,7 +35,9 @@
#ifndef _PWIO_H
#define _PWIO_H
#include <sys/types.h>
#include <pwd.h>
extern int pw_close (void);
extern const struct passwd *pw_locate (const char *name);
extern const struct passwd *pw_locate_uid (uid_t uid);