aboutsummaryrefslogtreecommitdiff
path: root/include/pwd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pwd.h')
-rw-r--r--include/pwd.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/pwd.h b/include/pwd.h
index b038fa7d44ac..40082c3da670 100644
--- a/include/pwd.h
+++ b/include/pwd.h
@@ -45,19 +45,19 @@
#include <sys/cdefs.h>
#include <sys/_types.h>
-#ifdef _BSD_GID_T_
-typedef _BSD_GID_T_ gid_t;
-#undef _BSD_GID_T_
+#ifndef _GID_T_DECLARED
+typedef __gid_t gid_t;
+#define _GID_T_DECLARED
#endif
-#ifdef _BSD_TIME_T_
-typedef _BSD_TIME_T_ time_t;
-#undef _BSD_TIME_T_
+#ifndef _TIME_T_DECLARED
+typedef __time_t time_t;
+#define _TIME_T_DECLARED
#endif
-#ifdef _BSD_UID_T_
-typedef _BSD_UID_T_ uid_t;
-#undef _BSD_UID_T_
+#ifndef _UID_T_DECLARED
+typedef __uid_t uid_t;
+#define _UID_T_DECLARED
#endif
#define _PATH_PWD "/etc"