$NetBSD: patch-ab,v 1.2 2006/06/04 12:57:11 joerg Exp $ --- SRC/globals.h.orig 2000-12-12 07:24:12.000000000 +0000 +++ SRC/globals.h @@ -245,8 +245,7 @@ static char globals_rcsid[]="$Id: global * *--------------------------------------------------*/ -extern int errno; -#if !(defined(__linux__) && defined (__GLIBC__) && __GLIBC__ >=2) && !(defined(__FreeBSD__) & defined(__GNUC__) && __GNUC__ >=2) +#if !(defined(__linux__) && defined (__GLIBC__) && __GLIBC__ >=2) && !(defined(__FreeBSD__) & defined(__GNUC__) && __GNUC__ >=2) && !defined(__NetBSD__) && !defined(__DragonFly__) extern char *sys_errlist[]; #endif #ifdef MAINPROGRAM