$NetBSD: patch-ek,v 1.1 2006/06/27 11:11:52 joerg Exp $ --- dbm/src/mktemp.c.orig 2006-06-26 18:13:20.000000000 +0000 +++ dbm/src/mktemp.c @@ -96,9 +96,6 @@ mktemp(char *path) static int _gettemp(char *path, register int *doopen, int extraFlags) { -#if !defined(_WINDOWS) || defined(_WIN32) - extern int errno; -#endif register char *start, *trv; struct stat sbuf; unsigned int pid;