aboutsummaryrefslogtreecommitdiffstats
path: root/include/grp.h
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-02-25 13:24:02 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-02-25 13:24:02 +0000
commitbef621eb7903f8295b05bae44198800f6378dca5 (patch)
treeabdcd19ab8df3c85bc6061e81152407ce52735bf /include/grp.h
parent3798cf8a706303334c0aa72fbc363137c08cdf8b (diff)
downloadsrc-bef621eb7903f8295b05bae44198800f6378dca5.tar.gz
src-bef621eb7903f8295b05bae44198800f6378dca5.zip
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>
Notes
Notes: svn path=/head/; revision=91242
Diffstat (limited to 'include/grp.h')
-rw-r--r--include/grp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/grp.h b/include/grp.h
index 5b101cff8a2b..01921f03f5fb 100644
--- a/include/grp.h
+++ b/include/grp.h
@@ -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 */