diff options
Diffstat (limited to 'grp/grp.h')
-rw-r--r-- | grp/grp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/grp/grp.h b/grp/grp.h index f5db84f7dc..11883ab1f1 100644 --- a/grp/grp.h +++ b/grp/grp.h @@ -33,6 +33,12 @@ __BEGIN_DECLS #include <stddef.h> +/* For the Single Unix specification we must define this type here. */ +#if defined __USE_UNIX98 && !defined gid_t +typedef __gid_t gid_t; +# define gid_t gid_t +#endif + /* The group structure. */ struct group { |