$OpenBSD: patch-marc_c,v 1.3 2011/05/30 10:58:28 jasper Exp $
--- marc.c.orig	Mon May 30 04:53:15 2011
+++ marc.c	Mon May 30 04:53:49 2011
@@ -63,6 +63,7 @@ char *arg[];			       /* pointers to arguments */
     VOID exitpause();
 #endif
     int n;			       /* index */
+    int fd;
 #if	UNIX
     struct	stat	sbuf;
 #endif
@@ -123,7 +124,7 @@ char *arg[];			       /* pointers to arguments */
 #if	!MSDOS
 	{
 		strcat(arctemp, "AXXXXXX");
-		int fd = mkstemp(arctemp);
+		fd = mkstemp(arctemp);
 		if (fd == -1)
 		{
 			fprintf(stderr, "Unable to create temporary files: %s\n", strerror(errno));
