$NetBSD: patch-af,v 1.1 2005/12/08 18:02:07 joerg Exp $ --- src/bgp/integrat/readbgp.c.orig 2005-12-08 17:50:47.000000000 +0000 +++ src/bgp/integrat/readbgp.c @@ -119,7 +119,9 @@ #ifdef __unix__ #define min(a,b) (((a) < (b)) ? (a) : (b)) #define _sys_errlist sys_errlist +#if !defined(__DragonFly__) && !defined(__FreeBSD__) int sys_nerr; +#endif #if !defined(ALPHA) && !defined(IRIX) && !defined(NETBSD) extern const char *const sys_errlist[]; #endif