aboutsummaryrefslogtreecommitdiff
path: root/include/grp.h
diff options
context:
space:
mode:
authorMike Barcroft <mike@FreeBSD.org>2002-02-26 19:43:03 +0000
committerMike Barcroft <mike@FreeBSD.org>2002-02-26 19:43:03 +0000
commit834dcade3083410d1d52d062f4f1962ddaf59f08 (patch)
tree66f2f4b240f161008805775c25f8c918cec6ee5a /include/grp.h
parent673623b376acd5a8dde94f56bcd55bebba22e21a (diff)
downloadsrc-834dcade3083410d1d52d062f4f1962ddaf59f08.tar.gz
src-834dcade3083410d1d52d062f4f1962ddaf59f08.zip
Notes
Diffstat (limited to 'include/grp.h')
-rw-r--r--include/grp.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/grp.h b/include/grp.h
index abd88ef18153..07a4e454f2ec 100644
--- a/include/grp.h
+++ b/include/grp.h
@@ -42,13 +42,17 @@
#ifndef _GRP_H_
#define _GRP_H_
-#include <sys/types.h>
#include <sys/cdefs.h>
#ifndef _POSIX_SOURCE
#define _PATH_GROUP "/etc/group"
#endif
+#ifndef _GID_T_DECLARED
+#define _GID_T_DECLARED
+typedef u_int32_t gid_t;
+#endif
+
struct group {
char *gr_name; /* group name */
char *gr_passwd; /* group password */