From: Gerd Moellmann Date: Mon, 20 Sep 1999 00:34:36 +0000 (+0000) Subject: (toplevel) [HAVE_UNISTD_H]: Include unistd.h. X-Git-Tag: emacs-pretest-21.0.90~6675 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3cbd6585e0bf96dffdeb220e3f855076df5312ac;p=emacs.git (toplevel) [HAVE_UNISTD_H]: Include unistd.h. (Fcall_process): Remove unused variable. --- diff --git a/src/callproc.c b/src/callproc.c index fec6c53733e..de6856b5068 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;