summaryrefslogtreecommitdiff
path: root/editors/emacs20/patches/patch-bz
blob: 49cb855483bda5829c81a63213e7011618a6a1c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-bz,v 1.2 2006/01/04 17:00:32 joerg Exp $

--- lib-src/emacsserver.c.orig	1999-02-22 20:44:14.000000000 +0000
+++ lib-src/emacsserver.c
@@ -26,6 +26,7 @@ Boston, MA 02111-1307, USA.  */
    up to the Emacs which then executes them.  */
 
 #define NO_SHORTNAMES
+#include <stdlib.h>
 #include <signal.h>
 #include <../src/config.h>
 #undef read
@@ -65,8 +66,6 @@ void fatal_error ();
 #include <unistd.h>
 #endif
 
-extern int errno;
-
 /* Copied from src/process.c */
 #ifdef FD_SET
 /* We could get this from param.h, but better not to depend on finding that.