blob: 97eaab8e2c00b87cac04fd3b4a163033ea7e6574 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ai,v 1.8 2012/09/06 12:08:51 ryoon Exp $
--- mozilla/dbm/src/mktemp.c.orig 2012-08-27 04:49:07.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;
|