$NetBSD: patch-ae,v 1.2 2005/03/10 15:18:31 tv Exp $ --- util.c.orig 1995-05-30 07:13:52.000000000 -0400 +++ util.c @@ -2,6 +2,10 @@ #include "es.h" +#include + +#if !(defined(BSD) && BSD >= 199306) && !defined(__INTERIX) +/* agc - just use the system strerror here */ /* strerror -- turn an error code into a string */ extern char *strerror(int n) { extern int sys_nerr; @@ -10,6 +14,7 @@ extern char *strerror(int n) { return "unknown error"; return sys_errlist[n]; } +#endif /* uerror -- print a unix error, our version of perror */ extern void uerror(char *s) {