summaryrefslogtreecommitdiff
path: root/mail/thunderbird10/patches/patch-ai
blob: a1d84b2fcc21c5ea5d0e875e32cc4b1ae46bbd1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ai,v 1.1.1.1 2012/03/15 09:45:29 ryoon Exp $

--- mozilla/dbm/src/mktemp.c.orig	2012-02-16 10:24:52.000000000 +0000
+++ mozilla/dbm/src/mktemp.c
@@ -92,7 +92,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;