summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-12-18 14:09:29 +0000
committerJim Meyering <jim@meyering.net>1998-12-18 14:09:29 +0000
commita3e473c522231b38743af75477fda296f769413e (patch)
tree5fa67d4a7448768b121dcfdd5773f2358e5e860a /src
parent6408b526407d70e3260eb845a224f71a4d2d6ce2 (diff)
downloadcoreutils-a3e473c522231b38743af75477fda296f769413e.tar.xz
(UID_T_MAX, GID_T_MAX): Define them here instead.
Diffstat (limited to 'src')
-rw-r--r--src/sys2.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sys2.h b/src/sys2.h
index e197cef15..d5071ec94 100644
--- a/src/sys2.h
+++ b/src/sys2.h
@@ -3,6 +3,14 @@
more time, I'll merge the remaining things in system.h and everything
in this file will go back there. */
+#ifndef UID_T_MAX
+# define UID_T_MAX TYPE_MAXIMUM (uid_t)
+#endif
+
+#ifndef GID_T_MAX
+# define GID_T_MAX TYPE_MAXIMUM (gid_t)
+#endif
+
#ifndef RETSIGTYPE
# define RETSIGTYPE void
#endif