changeset 25767:30ffae737755

(toplevel) [HAVE_UNISTD_H]: Include unistd.h. (Fcall_process): Remove unused variable.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 20 Sep 1999 00:34:36 +0000
parents 4808150de049
children 2cd7c31ce982
files src/callproc.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/callproc.c	Mon Sep 20 00:34:35 1999 +0000
+++ b/src/callproc.c	Mon Sep 20 00:34:36 1999 +0000
@@ -36,6 +36,10 @@
 
 #include <sys/types.h>
 
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
 #include <sys/file.h>
 #ifdef USG5
 #define INCLUDED_FCNTL
@@ -394,7 +398,6 @@
 	      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;