blob: 1d27527aff621bde75fd5d8fb8f703ae5d9924eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$NetBSD: patch-bf,v 1.1 2004/02/16 23:41:26 seb 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;
@@ -419,7 +421,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
|