summaryrefslogtreecommitdiff
path: root/sys/arch/wgrisc/include/limits.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/wgrisc/include/limits.h')
-rw-r--r--sys/arch/wgrisc/include/limits.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/wgrisc/include/limits.h b/sys/arch/wgrisc/include/limits.h
index 44fc011c9a7..3fef3a42593 100644
--- a/sys/arch/wgrisc/include/limits.h
+++ b/sys/arch/wgrisc/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.2 1997/07/24 14:48:57 deraadt Exp $ */
+/* $OpenBSD: limits.h,v 1.3 1998/03/22 21:15:27 millert Exp $ */
/* $NetBSD: limits.h,v 1.8 1995/03/28 18:19:16 jtc Exp $ */
/*
@@ -81,6 +81,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 */
+
/* GCC requires that quad constants be written as expressions. */
#define UQUAD_MAX ((u_quad_t)0-1) /* max value for a uquad_t */
/* max value for a quad_t */