$NetBSD: patch-ai,v 1.2 1998/08/07 11:09:22 agc Exp $ --- runtime/fail.c.orig Fri Jul 4 08:52:34 1997 +++ runtime/fail.c Mon Feb 16 21:31:37 1998 @@ -1,7 +1,14 @@ /* Raising exceptions from C. */ +#if (defined(__unix__) || defined(unix)) && !defined(USG) +#include +#endif + #if defined(__MWERKS__) || defined(__CYGWIN32__) #define MAXDOUBLE 1.7976931348623157081e+308 +#elif (defined(BSD) && BSD >= 199306) +#include +#define MAXDOUBLE DBL_MAX #else #include #endif