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

--- src/callproc.c.orig	2006-01-04 16:05:18.000000000 +0000
+++ src/callproc.c
@@ -24,8 +24,10 @@ Boston, MA 02111-1307, USA.  */
 
 #include <config.h>
 #include <stdio.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
 
-extern int errno;
 extern char *strerror ();
 
 /* Define SIGCHLD as an alias for SIGCLD.  */