blob: 983d7202c189c00275e2c593bec9d4bb63e65c58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$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[];
|