summaryrefslogtreecommitdiff
path: root/editors/emacs21/patches/patch-an
diff options
context:
space:
mode:
Diffstat (limited to 'editors/emacs21/patches/patch-an')
-rw-r--r--editors/emacs21/patches/patch-an14
1 files changed, 14 insertions, 0 deletions
diff --git a/editors/emacs21/patches/patch-an b/editors/emacs21/patches/patch-an
new file mode 100644
index 00000000000..2b7018bcebf
--- /dev/null
+++ b/editors/emacs21/patches/patch-an
@@ -0,0 +1,14 @@
+$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