summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-02-25 13:24:02 +0000
committersobomax <sobomax@FreeBSD.org>2002-02-25 13:24:02 +0000
commit916123866f664071708b404a172dd6b1aea59d98 (patch)
treeabdcd19ab8df3c85bc6061e81152407ce52735bf /include
parente89f04538eb55767c3ba4f56041ad95e69258ead (diff)
downloadFreeBSD-src-916123866f664071708b404a172dd6b1aea59d98.zip
FreeBSD-src-916123866f664071708b404a172dd6b1aea59d98.tar.gz
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>
Diffstat (limited to 'include')
-rw-r--r--include/grp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/grp.h b/include/grp.h
index 5b101cf..01921f0 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 */
OpenPOWER on IntegriCloud