2013-09-26 17:14:40 +02:00

15 lines
647 B
Plaintext

$NetBSD: patch-av,v 1.7 2007/03/23 22:08:58 dmcmahill Exp $
--- routines/xsci/x_misc.c.orig 2006-11-21 15:42:49.000000000 +0000
+++ routines/xsci/x_misc.c
@@ -509,8 +509,7 @@ void Panic(s, a)
/* #include "wf_fig.h" */ /** for sys_errlist **/
#ifndef linux
-#if !defined(__bsdi__) && !defined(__NetBSD__) && !defined(__APPLE__) && !defined(__FreeBSD__)
-extern int errno;
+#if !defined(__bsdi__) && !defined(__NetBSD__) && !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__DragonFly__)
extern int sys_nerr;
#if (! (defined(BSD) && (BSD >= 199306))) && !defined(__FreeBSD__) && !defined(__APPLE__)
extern char *sys_errlist[];