summaryrefslogtreecommitdiff
path: root/parallel/dqs/patches/patch-ab
blob: cc553c5ed8e6447cbf70e1ac6b01df87f5ac2e51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ab,v 1.2 2006/06/04 12:57:11 joerg Exp $

--- SRC/globals.h.orig	2000-12-12 07:24:12.000000000 +0000
+++ SRC/globals.h
@@ -245,8 +245,7 @@ static char globals_rcsid[]="$Id: global
  *
  *--------------------------------------------------*/
 
-extern int errno;
-#if !(defined(__linux__) && defined (__GLIBC__) && __GLIBC__ >=2) && !(defined(__FreeBSD__) & defined(__GNUC__) && __GNUC__ >=2)
+#if !(defined(__linux__) && defined (__GLIBC__) && __GLIBC__ >=2) && !(defined(__FreeBSD__) & defined(__GNUC__) && __GNUC__ >=2) && !defined(__NetBSD__) && !defined(__DragonFly__)
 extern char *sys_errlist[];
 #endif
 #ifdef MAINPROGRAM