From 0483b134133ba4d8bc055eade2a074de92f1dd2a Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sun, 22 Mar 1998 21:15:28 +0000 Subject: Add UID_MAX and GID_MAX --- sys/arch/alpha/include/limits.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/arch/alpha/include/limits.h') diff --git a/sys/arch/alpha/include/limits.h b/sys/arch/alpha/include/limits.h index 56517ae1985..e209ad8bc0a 100644 --- a/sys/arch/alpha/include/limits.h +++ b/sys/arch/alpha/include/limits.h @@ -1,4 +1,4 @@ -/* $OpenBSD: limits.h,v 1.5 1997/07/24 14:48:44 deraadt Exp $ */ +/* $OpenBSD: limits.h,v 1.6 1998/03/22 21:15:07 millert Exp $ */ /* $NetBSD: limits.h,v 1.2 1996/04/12 01:38:25 cgd Exp $ */ /* @@ -77,6 +77,9 @@ #if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE) #define SIZE_T_MAX ULONG_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 */ + /* Quads and longs are the same on the alpha */ #define UQUAD_MAX (ULONG_MAX) /* max value for a uquad_t */ #define QUAD_MAX (LONG_MAX) /* max value for a quad_t */ -- cgit v1.2.3