$NetBSD: patch-ag,v 1.2 2005/12/05 20:51:20 rillig Exp $ --- lib/errmsg.c.orig 2005-07-22 18:01:01.000000000 +0000 +++ lib/errmsg.c @@ -51,7 +51,10 @@ #include "forms.h" #include "ulib.h" + +#ifndef errno extern int errno; /* system error no */ +#endif #ifdef DONT_HAVE_STRERROR extern char *sys_errlist[];