2006-06-04 14:57:11 +02:00
|
|
|
$NetBSD: patch-ab,v 1.2 2006/06/04 12:57:11 joerg Exp $
|
2003-06-26 22:23:41 +02:00
|
|
|
|
2006-06-04 14:57:11 +02:00
|
|
|
--- 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
|
|
|
|
*
|
2003-06-26 22:23:41 +02:00
|
|
|
*--------------------------------------------------*/
|
|
|
|
|
2006-06-04 14:57:11 +02:00
|
|
|
-extern int errno;
|
2003-06-26 22:23:41 +02:00
|
|
|
-#if !(defined(__linux__) && defined (__GLIBC__) && __GLIBC__ >=2) && !(defined(__FreeBSD__) & defined(__GNUC__) && __GNUC__ >=2)
|
2006-06-04 14:57:11 +02:00
|
|
|
+#if !(defined(__linux__) && defined (__GLIBC__) && __GLIBC__ >=2) && !(defined(__FreeBSD__) & defined(__GNUC__) && __GNUC__ >=2) && !defined(__NetBSD__) && !defined(__DragonFly__)
|
2003-06-26 22:23:41 +02:00
|
|
|
extern char *sys_errlist[];
|
|
|
|
#endif
|
|
|
|
#ifdef MAINPROGRAM
|