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:
parent
3798cf8a70
commit
bef621eb79
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user