summaryrefslogtreecommitdiff
path: root/mail/thunderbird/patches/patch-dj
blob: af9a8a8a2ad18336c82a372aab23b41a749ceac4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-dj,v 1.1 2005/12/30 21:35:58 joerg Exp $

diff -ruN ../Orig/mozilla/dbm/src/mktemp.c ./dbm/src/mktemp.c
--- ../Orig/mozilla/dbm/src/mktemp.c	2003-01-21 08:13:37.000000000 +0900
+++ ./dbm/src/mktemp.c	2005-12-04 19:44:43.000000000 +0900
@@ -98,7 +98,7 @@
 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;