$NetBSD: patch-af,v 1.1 2006/03/14 02:21:46 joerg Exp $ --- report.c.orig 2006-03-14 02:15:23.000000000 +0000 +++ report.c @@ -10,6 +10,7 @@ #endif #include +#include #include "defaults.h" #include "report.h" @@ -138,9 +139,6 @@ report(priority, fmt, va_alist) char * get_errmsg() { - extern int errno; - extern char *strerror(); - return strerror(errno); }