blob: 524cf03de954f7ee3fa237a74262b2d6a9e881d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-at,v 1.6 2006/05/12 12:39:32 joerg Exp $
--- routines/xsci/wf_fig.h.orig 2006-04-28 19:44:15.000000000 +0000
+++ routines/xsci/wf_fig.h
@@ -48,8 +48,7 @@
#include <errno.h>
#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[];
|