In rev.1.4 type of (group)->gr_gid was changes from (int) to (gid_t),

so that <sys/types.h> is now required. Add it, otherwise it breaks
some ports.

Submitted by:	Joe Marcus Clarke <marcus@marcuscom.com>
This commit is contained in:
sobomax 2002-02-25 13:24:02 +00:00
parent 8a6520e604
commit 139bbe198b

View File

@ -46,6 +46,8 @@
#define _PATH_GROUP "/etc/group"
#endif
#include <sys/types.h>
struct group {
char *gr_name; /* group name */
char *gr_passwd; /* group password */