aboutsummaryrefslogtreecommitdiff
path: root/pwd/pwd.h
diff options
context:
space:
mode:
Diffstat (limited to 'pwd/pwd.h')
-rw-r--r--pwd/pwd.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/pwd/pwd.h b/pwd/pwd.h
index e03144fee6..50d62a1708 100644
--- a/pwd/pwd.h
+++ b/pwd/pwd.h
@@ -35,14 +35,14 @@ __BEGIN_DECLS
#ifdef __USE_XOPEN
/* The Single Unix specification says that some more types are
available here. */
-# ifndef gid_t
+# ifndef __gid_t_defined
typedef __gid_t gid_t;
-# define gid_t gid_t
+# define __gid_t_defined
# endif
-# ifndef uid_t
+# ifndef __uid_t_defined
typedef __uid_t uid_t;
-# define uid_t uid_t
+# define __uid_t_defined
# endif
#endif