$NetBSD: patch-an,v 1.3 2005/12/29 13:56:51 joerg 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
