summaryrefslogtreecommitdiff
path: root/sys/arch/m68k/include/limits.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-03-22 21:15:28 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-03-22 21:15:28 +0000
commit0483b134133ba4d8bc055eade2a074de92f1dd2a (patch)
treee16bc9479ab07f499633ba122660e654234b506d /sys/arch/m68k/include/limits.h
parentdafe4a41135492005e4cd9412da405a1119fba0d (diff)
Add UID_MAX and GID_MAX
Diffstat (limited to 'sys/arch/m68k/include/limits.h')
-rw-r--r--sys/arch/m68k/include/limits.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/m68k/include/limits.h b/sys/arch/m68k/include/limits.h
index a48cf4700fd..f509ff308bb 100644
--- a/sys/arch/m68k/include/limits.h
+++ b/sys/arch/m68k/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.2 1996/05/29 18:38:32 niklas Exp $ */
+/* $OpenBSD: limits.h,v 1.3 1998/03/22 21:15:14 millert Exp $ */
/* $NetBSD: limits.h,v 1.9 1994/10/26 07:50:48 cgd Exp $ */
/*
@@ -64,6 +64,9 @@
#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)
#define SIZE_T_MAX UINT_MAX /* max value for a size_t */
+#define UID_MAX UINT_MAX /* max value for a uid_t */
+#define GID_MAX UINT_MAX /* max value for a gid_t */
+
#define UQUAD_MAX 0xffffffffffffffffULL /* max unsigned quad */
#define QUAD_MAX 0x7fffffffffffffffLL /* max signed quad */
#define QUAD_MIN (-0x7fffffffffffffffLL-1) /* min signed quad */