summaryrefslogtreecommitdiff
path: root/sys/arch/arm/include/limits.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/arm/include/limits.h')
-rw-r--r--sys/arch/arm/include/limits.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/arm/include/limits.h b/sys/arch/arm/include/limits.h
index 3479577b598..3afc95fcf81 100644
--- a/sys/arch/arm/include/limits.h
+++ b/sys/arch/arm/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.2 2005/12/14 21:46:30 millert Exp $ */
+/* $OpenBSD: limits.h,v 1.3 2006/01/06 22:48:46 millert Exp $ */
/* $NetBSD: limits.h,v 1.4 2003/04/28 23:16:18 bjh21 Exp $ */
/*
@@ -40,7 +40,9 @@
#define MB_LEN_MAX 1 /* no multibyte characters */
#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