blob: 883fbeb800393946188e5a329eb3f868340732e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-dj,v 1.2 2005/12/10 13:47:22 taya 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;
|