$NetBSD: patch-ac,v 1.2 2006/01/02 16:17:09 joerg Exp $

--- global.h.orig	2001-02-10 23:58:59.000000000 +0000
+++ global.h
@@ -203,11 +203,9 @@ char *build_name();
 /* 
  * Variables 
  */
-#ifndef __FreeBSD__
-#ifndef __GLIBC__
+#if !defined(__FreeBSD__) && !defined(__DragonFly__) && !defined(__NetBSD__) && !defined(__GLIBC__)
 extern char *sys_errlist[];
 #endif
-#endif
 
 /* xtel.c */
 #ifdef NO_NETWORK
