summaryrefslogtreecommitdiff
path: root/math/scilab/patches/patch-av
blob: d42a5c6e5cfecd90279d22c128cdf748fa9eac87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-av,v 1.6 2006/05/12 12:39:32 joerg Exp $

--- routines/xsci/x_misc.c.orig	2006-04-28 19:50:18.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__)
-extern int	errno;
+#if !defined(__bsdi__) && !defined(__NetBSD__) && !defined(__APPLE__) && !defined(__DragonFly__)
 extern int	sys_nerr;
 #if (! (defined(BSD) && (BSD >= 199306))) && !defined(freebsd)  && !defined(__APPLE__)
 extern char    *sys_errlist[];