blob: a54a6a3e7e9a61953d5501785207867e2623998c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ai,v 1.10 2012/09/02 06:43:39 ryoon Exp $
--- mozilla/dbm/src/mktemp.c.orig 2012-08-25 00:31:01.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;
|