$NetBSD: patch-an,v 1.1 2007/06/11 13:38:36 markd Exp $

--- src/emacs.c.orig	2005-12-29 13:27:49.000000000 +0000
+++ src/emacs.c
@@ -712,9 +712,6 @@ main (argc, argv, envp)
   char stack_bottom_variable;
   int do_initial_setlocale;
   int skip_args = 0;
-#ifndef USE_CRT_DLL
-  extern int errno;
-#endif
 #ifdef HAVE_SETRLIMIT
   struct rlimit rlim;
 #endif
