$NetBSD: patch-aa,v 1.3 2003/07/01 15:52:37 agc Exp $ --- minedaux.c 2003/06/17 16:07:30 1.1 +++ minedaux.c 2003/06/17 16:10:10 @@ -507,6 +507,13 @@ # include # endif +# include +# include + +# if (defined(BSD) && BSD >= 199306) +# include +# else + extern int errno; extern int sys_nerr; @@ -518,13 +525,13 @@ portability problems and wastes developers' time. It's nothing but a nuisance. */ extern char * sys_errlist []; +# endif # endif # endif # endif /* #else __CYGWIN__ */ #endif - char * serrorof (errnum) int errnum;