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:
Maxim Sobolev 2002-02-25 13:24:02 +00:00
parent 3798cf8a70
commit bef621eb79
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=91242

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 */