$NetBSD: patch-aa,v 1.1.1.1 2004/02/12 05:43:42 ben Exp $ --- diag.c.orig 1999-11-22 16:07:31.000000000 -0800 +++ diag.c @@ -125,7 +125,9 @@ extern int diagnostics; extern struct st_host_info hinfo[]; extern int initial_diagnostics; extern int screen; +#if !defined(__NetBSD__) extern int sys_nerr; +#endif #if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__GNU_LIBRARY__) && !defined(__GLIBC__) && !defined(__EMX__) extern char *sys_errlist[]; #endif