$NetBSD: patch-an,v 1.4 2008/10/11 09:56:38 uebayasi Exp $

--- src/emacs.c.orig	2008-10-10 10:35:49.000000000 +0900
+++ src/emacs.c
@@ -809,9 +809,6 @@ main (argc, argv
   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
