summaryrefslogtreecommitdiff
path: root/lang/ruby18-base/patches/patch-ax
blob: de226636477a61ec1d1b4c4c60074acff80eb191 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ax,v 1.1 2005/09/18 13:38:50 taca Exp $

--- ext/sdbm/_sdbm.c.orig	2005-07-15 16:18:36.000000000 +0000
+++ ext/sdbm/_sdbm.c
@@ -103,7 +103,7 @@ static int   duppair proto((char *, datu
 /*
  * externals
  */
-#if !defined sun && !defined MSDOS && !defined _WIN32 && !defined __CYGWIN__
+#if !defined sun && !defined MSDOS && !defined _WIN32 && !defined __CYGWIN__ && !defined(errno)
 extern int errno;
 #endif