summaryrefslogtreecommitdiffstats
path: root/include/grp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/grp.h')
-rw-r--r--include/grp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/grp.h b/include/grp.h
index 3919c05..cbb6215 100644
--- a/include/grp.h
+++ b/include/grp.h
@@ -49,9 +49,9 @@
#define _PATH_GROUP "/etc/group"
#endif
-#ifndef _GID_T_DECLARED
-#define _GID_T_DECLARED
-typedef __uint32_t gid_t;
+#ifdef _BSD_GID_T_
+typedef _BSD_GID_T_ gid_t;
+#undef _BSD_GID_T_
#endif
struct group {
OpenPOWER on IntegriCloud