$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 +#define MAXSHORT USHRT_MAX +#define MAXINT INT_MAX +#endif + #ifdef __BORLANDC__ #ifndef strdup