$NetBSD: patch-aa,v 1.5 2005/12/04 01:10:33 joerg Exp $ --- misc.c.orig 2002-01-09 00:41:11.000000000 +0000 +++ misc.c @@ -35,7 +35,7 @@ #include #include -#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DARWIN__) +#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DARWIN__) || defined(__DragonFly__) #include #endif @@ -913,7 +913,6 @@ char *SysErrorMsg (n) extern char *sys_errlist[]; #endif #endif - extern int sys_nerr; return ((n >= 0 && n < sys_nerr) ? sys_errlist[n] : "unknown error"); }