aboutsummaryrefslogtreecommitdiff
path: root/grp/grp.h
diff options
context:
space:
mode:
Diffstat (limited to 'grp/grp.h')
-rw-r--r--grp/grp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/grp/grp.h b/grp/grp.h
index f5db84f..11883ab 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
{