aboutsummaryrefslogtreecommitdiffstats
path: root/include/grp.h
diff options
context:
space:
mode:
authorMike Barcroft <mike@FreeBSD.org>2002-03-08 03:09:46 +0000
committerMike Barcroft <mike@FreeBSD.org>2002-03-08 03:09:46 +0000
commite0865ca9d893383b24da00c9ab37fabcd3496de3 (patch)
tree778a1da664da9a33a407d1b0b206be94cd1c0186 /include/grp.h
parentfbcd78c3cb9c6dc51628fc673444cefc11d3f904 (diff)
downloadsrc-e0865ca9d893383b24da00c9ab37fabcd3496de3.tar.gz
src-e0865ca9d893383b24da00c9ab37fabcd3496de3.zip
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
Notes
Notes: svn path=/head/; revision=91848
Diffstat (limited to 'include/grp.h')
-rw-r--r--include/grp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/grp.h b/include/grp.h
index 07a4e454f2ec..8ac0371d9190 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 {