diff options
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r-- | sys/arch/sparc/include/limits.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc/include/limits.h b/sys/arch/sparc/include/limits.h index 4ab9296fb2b..d71b3a74ea8 100644 --- a/sys/arch/sparc/include/limits.h +++ b/sys/arch/sparc/include/limits.h @@ -1,4 +1,4 @@ -/* $OpenBSD: limits.h,v 1.10 2005/12/14 21:46:31 millert Exp $ */ +/* $OpenBSD: limits.h,v 1.11 2006/01/06 22:48:47 millert Exp $ */ /* $NetBSD: limits.h,v 1.7 1996/01/05 18:10:57 pk Exp $ */ /* @@ -37,7 +37,9 @@ #include <sys/cdefs.h> #if __POSIX_VISIBLE || __XPG_VISIBLE +#ifndef SIZE_MAX #define SIZE_MAX UINT_MAX /* max value for a size_t */ +#endif #define SSIZE_MAX INT_MAX /* max value for a ssize_t */ #endif |