summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/include/limits.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc/include/limits.h')
-rw-r--r--sys/arch/sparc/include/limits.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sparc/include/limits.h b/sys/arch/sparc/include/limits.h
index 9aab3e5048b..4bfbd5ba62a 100644
--- a/sys/arch/sparc/include/limits.h
+++ b/sys/arch/sparc/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.7 2002/04/24 21:53:12 espie Exp $ */
+/* $OpenBSD: limits.h,v 1.8 2002/07/30 01:22:00 millert Exp $ */
/* $NetBSD: limits.h,v 1.7 1996/01/05 18:10:57 pk Exp $ */
/*
@@ -39,6 +39,7 @@
#define MB_LEN_MAX 1 /* no multibyte characters */
#if !defined(_ANSI_SOURCE)
+#define SIZE_MAX UINT_MAX /* max value for a size_t */
#define SSIZE_MAX INT_MAX /* max value for a ssize_t */
#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)