summaryrefslogtreecommitdiff
path: root/devel/xulrunner192/patches/patch-ai
blob: a11939e35f1adb5324eef2b423225275c7025fd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ai,v 1.1.1.1 2011/04/19 11:16:07 tnn Exp $

--- dbm/src/mktemp.c.orig	2009-06-29 18:14:43.000000000 +0200
+++ dbm/src/mktemp.c
@@ -90,7 +90,7 @@ mktemp(char *path)
 static int 
 _gettemp(char *path, register int *doopen, int extraFlags)
 {    
-#if !defined(_WINDOWS) || defined(_WIN32)
+#if (!defined(_WINDOWS) || defined(_WIN32)) && !defined(errno)
 	extern int errno;                    
 #endif
 	register char *start, *trv;