summaryrefslogtreecommitdiff
path: root/editors/mule/patches/patch-bf
blob: 1c0e86dccd3741a1ae60f637571dc655db4b5adf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-bf,v 1.3 2006/01/04 20:35:08 joerg Exp $

--- src/emacs.c.orig	1995-06-08 05:58:13.000000000 +0000
+++ src/emacs.c
@@ -410,6 +410,8 @@ __main ()
 NXZone *emacszone;
 #endif
 
+#include <sys/param.h>
+
 /* ARGSUSED */
 main (argc, argv, envp)
      int argc;
@@ -418,8 +420,9 @@ main (argc, argv, envp)
 {
   char stack_bottom_variable;
   int skip_args = 0;
-  extern int errno;
+#if !(defined(BSD) && BSD >= 199306)
   extern sys_nerr;
+#endif
 
 /* Map in shared memory, if we are using that.  */
 #ifdef HAVE_SHM