summaryrefslogtreecommitdiff
path: root/sys/arch/mips64/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mips64/include')
-rw-r--r--sys/arch/mips64/include/limits.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/mips64/include/limits.h b/sys/arch/mips64/include/limits.h
index c240c41d71b..bff9dfdb507 100644
--- a/sys/arch/mips64/include/limits.h
+++ b/sys/arch/mips64/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.3 2005/12/14 21:46:31 millert Exp $ */
+/* $OpenBSD: limits.h,v 1.4 2006/01/06 22:48:47 millert Exp $ */
/*
* Copyright (c) 1988, 1993
@@ -68,7 +68,9 @@
#define GID_MAX UINT_MAX /* max value for a gid_t */
#if __POSIX_VISIBLE || __XPG_VISIBLE
+#ifndef SIZE_MAX
#define SIZE_MAX ULONG_MAX /* max value for a size_t */
+#endif
#define SSIZE_MAX LONG_MAX /* max value for a ssize_t */
#endif