summaryrefslogtreecommitdiff
path: root/pkgtools/libnbcompat/files/nbcompat/limits.h
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools/libnbcompat/files/nbcompat/limits.h')
-rw-r--r--pkgtools/libnbcompat/files/nbcompat/limits.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgtools/libnbcompat/files/nbcompat/limits.h b/pkgtools/libnbcompat/files/nbcompat/limits.h
index 51a30f6e1a0..1f060ad90bf 100644
--- a/pkgtools/libnbcompat/files/nbcompat/limits.h
+++ b/pkgtools/libnbcompat/files/nbcompat/limits.h
@@ -1,4 +1,4 @@
-/* $NetBSD: limits.h,v 1.1 2004/08/10 18:47:55 jlam Exp $ */
+/* $NetBSD: limits.h,v 1.2 2004/08/23 03:32:13 jlam Exp $ */
/*-
* Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -47,6 +47,10 @@
* Declare functions and macros that may be missing in <limits.h>.
*/
+#ifndef UINT_MAX
+# define UINT_MAX 4294967295U
+#endif
+
#if !defined(LLONG_MAX)
# if defined(LONG_LONG_MAX)
# define LLONG_MAX LONG_LONG_MAX