summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2002-03-08 03:09:46 +0000
committermike <mike@FreeBSD.org>2002-03-08 03:09:46 +0000
commitc72c50ab95611f0565d669ca36160de03c3e6494 (patch)
tree778a1da664da9a33a407d1b0b206be94cd1c0186 /include
parent48ded5bf3a9f13f89b09dbfae36ce5931563e1b3 (diff)
downloadFreeBSD-src-c72c50ab95611f0565d669ca36160de03c3e6494.zip
FreeBSD-src-c72c50ab95611f0565d669ca36160de03c3e6494.tar.gz
Use a integral type that doesn't require <sys/types.h>. This
accomplishes the goal of actually making <grp.h> independent of other headers for the definition of its types. Pointy hat to: mike
Diffstat (limited to 'include')
-rw-r--r--include/grp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/grp.h b/include/grp.h
index 07a4e45..8ac0371 100644
--- a/include/grp.h
+++ b/include/grp.h
@@ -43,6 +43,7 @@
#define _GRP_H_
#include <sys/cdefs.h>
+#include <machine/ansi.h>
#ifndef _POSIX_SOURCE
#define _PATH_GROUP "/etc/group"
@@ -50,7 +51,7 @@
#ifndef _GID_T_DECLARED
#define _GID_T_DECLARED
-typedef u_int32_t gid_t;
+typedef __uint32_t gid_t;
#endif
struct group {
OpenPOWER on IntegriCloud