From 3cbd6585e0bf96dffdeb220e3f855076df5312ac Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 20 Sep 1999 00:34:36 +0000 Subject: [PATCH] (toplevel) [HAVE_UNISTD_H]: Include unistd.h. (Fcall_process): Remove unused variable. --- src/callproc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/callproc.c b/src/callproc.c index fec6c53733..de6856b506 100644 --- a/src/callproc.c +++ b/src/callproc.c @@ -36,6 +36,10 @@ extern char *strerror (); #include +#ifdef HAVE_UNISTD_H +#include +#endif + #include #ifdef USG5 #define INCLUDED_FCNTL @@ -394,7 +398,6 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.") int size = encoding_buffer_size (&argument_coding, STRING_BYTES (XSTRING (args[i]))); unsigned char *dummy1 = (unsigned char *) alloca (size); - int dummy; /* The Irix 4.0 compiler barfs if we eliminate dummy. */ new_argv[i - 3] = dummy1; -- 2.20.1