$NetBSD: patch-aa,v 1.5 2006/01/03 18:30:16 joerg Exp $ --- xlopen.c.orig 2006-01-03 18:28:04.000000000 +0000 +++ xlopen.c @@ -37,7 +37,7 @@ extern char *optarg; extern int optind, opterr; extern int useimageloader; extern struct hosttype *hosts_tail; -#ifndef __NetBSD__ +#if !defined(__NetBSD__) && !defined(__DragonFly__) && !defined(__FreeBSD__) extern char *sys_errlist[]; #endif extern int fullscrflag;