summaryrefslogtreecommitdiff
path: root/editors/emacs/patches/patch-ap
diff options
context:
space:
mode:
Diffstat (limited to 'editors/emacs/patches/patch-ap')
-rw-r--r--editors/emacs/patches/patch-ap15
1 files changed, 15 insertions, 0 deletions
diff --git a/editors/emacs/patches/patch-ap b/editors/emacs/patches/patch-ap
new file mode 100644
index 00000000000..c44b69bf69c
--- /dev/null
+++ b/editors/emacs/patches/patch-ap
@@ -0,0 +1,15 @@
+$NetBSD: patch-ap,v 1.3 2005/12/29 13:56:51 joerg Exp $
+
+--- src/buffer.c.orig 2005-12-29 13:29:35.000000000 +0000
++++ src/buffer.c
+@@ -27,10 +27,6 @@ Boston, MA 02111-1307, USA. */
+ #include <errno.h>
+ #include <stdio.h>
+
+-#ifndef USE_CRT_DLL
+-extern int errno;
+-#endif
+-
+ #ifndef MAXPATHLEN
+ /* in 4.1, param.h fails to define this. */
+ #define MAXPATHLEN 1024