2013-09-26 17:14:40 +02:00

24 lines
610 B
Plaintext

$NetBSD: patch-cg,v 1.2 2011/12/24 17:07:07 dholland Exp $
- use standard headers
- don't declare own errno
--- src/process.c.orig 1996-08-15 03:39:14.000000000 +0000
+++ src/process.c
@@ -95,6 +95,7 @@ the Free Software Foundation, 675 Mass A
#include <stdio.h>
#include <errno.h>
#include <setjmp.h>
+#include <stdlib.h>
#include <sys/types.h> /* some typedefs are used in sys/file.h */
#include <sys/file.h>
#include <sys/stat.h>
@@ -191,7 +192,6 @@ static Lisp_Object stream_process;
#include "syswait.h"
-extern int errno;
extern char *strerror ();
#ifdef VMS
extern char *sys_errlist[];