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
This commit is contained in:
Mike Barcroft 2002-03-08 03:09:46 +00:00
parent fbcd78c3cb
commit e0865ca9d8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=91848

View File

@ -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 {