summaryrefslogtreecommitdiff
path: root/devel/nss/patches/patch-ai
blob: f9974f00c6ff32db9dd1676afcda3ff9cab8f532 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ai,v 1.3 2007/01/20 18:55:09 wiz Exp $

--- mozilla/dbm/src/mktemp.c.orig	2003-01-20 23:13:37.000000000 +0000
+++ mozilla/dbm/src/mktemp.c
@@ -98,7 +98,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;