mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=91242
|
@ -46,6 +46,8 @@
|
||||||
#define _PATH_GROUP "/etc/group"
|
#define _PATH_GROUP "/etc/group"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
|
||||||
struct group {
|
struct group {
|
||||||
char *gr_name; /* group name */
|
char *gr_name; /* group name */
|
||||||
char *gr_passwd; /* group password */
|
char *gr_passwd; /* group password */
|
||||||
|
|
Loading…
Reference in a new issue