summaryrefslogtreecommitdiff
path: root/www/seamonkey/patches/patch-ai
blob: 32093f8b62493b92e53e4599026dd89864fd245d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ai,v 1.4 2010/03/16 10:59:10 tnn Exp $

--- mozilla/dbm/src/mktemp.c.orig	2009-06-29 18:14:43.000000000 +0200
+++ mozilla/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;