summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/include/limits.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc64/include/limits.h')
-rw-r--r--sys/arch/sparc64/include/limits.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sparc64/include/limits.h b/sys/arch/sparc64/include/limits.h
index 3d10be3b2a9..451087fd1b0 100644
--- a/sys/arch/sparc64/include/limits.h
+++ b/sys/arch/sparc64/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.4 2002/04/24 21:53:12 espie Exp $ */
+/* $OpenBSD: limits.h,v 1.5 2002/07/30 01:22:00 millert Exp $ */
/* $NetBSD: limits.h,v 1.8 2000/08/08 22:31:14 tshiozak Exp $ */
/*
@@ -47,6 +47,7 @@
#endif
#if !defined(_ANSI_SOURCE)
+#define SIZE_MAX ULONG_MAX /* max value for a size_t */
#define SSIZE_MAX LONG_MAX /* max value for a ssize_t */
#if !defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)