blob: 87b7e9aa8a8587c6f005089253ab4fbd00b34b04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-aa,v 1.1.1.1 2001/06/28 15:18:05 wulf Exp $
--- kernel/sources/kr_typ.h.orig Wed Jun 27 19:38:31 2001
+++ kernel/sources/kr_typ.h Wed Jun 27 19:44:26 2001
@@ -30,6 +30,12 @@
#################################################*/
+#ifdef __NetBSD__
+#include <limits.h>
+#define MAXSHORT USHRT_MAX
+#define MAXINT INT_MAX
+#endif
+
#ifdef __BORLANDC__
#ifndef strdup
|